[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 142

 
todem:
delete this one and I think you'll be fine.
Not that, the line should be moved and OBJ_ARROW should be deleted when the line is moved.
 
just use Object delete ///
 

todem

а зачем их все сделал внешними. Там помоему главные тока 2 первых, остальное заложенно. Я сделал тока два внешних...

Очень похоже, что это работает.

Ща ещё поковыряюсь, чтобы полностью удостовериться.

The interesting thing is that it gives the same values in all cases.

double CC1=0,CC2=0;
  if(OrderSymbol()=="EURUSD"){ CC1 = iCustom("EURUSD",60,"CC2",3,6,0,1); CC2 = iCustom("EURUSD",60,"CC2",3,6,1,1); }
  if(OrderSymbol()=="GBPUSD"){ CC1 = iCustom("GBPUSD",60,"CC2",3,6,0,1); CC2 = iCustom("GBPUSD",60,"CC2",3,6,2,1); }
  if(OrderSymbol()=="USDCHF"){ CC1 = iCustom("USDCHF",60,"CC2",3,6,0,1); CC2 = iCustom("USDCHF",60,"CC2",3,6,3,1); }
  if(OrderSymbol()=="USDJPY"){ CC1 = iCustom("USDJPY",60,"CC2",3,6,0,1); CC2 = iCustom("USDJPY",60,"CC2",3,6,4,1); }
  if(OrderSymbol()=="USDCAD"){ CC1 = iCustom("USDCAD",60,"CC2",3,6,0,1); CC2 = iCustom("USDCAD",60,"CC2",3,6,5,1); }
  if(OrderSymbol()=="AUDUSD"){ CC1 = iCustom("AUDUSD",60,"CC2",3,6,0,1); CC2 = iCustom("AUDUSD",60,"CC2",3,6,6,1); }
  if(OrderSymbol()=="NZDUSD"){ CC1 = iCustom("NZDUSD",60,"CC2",3,6,0,1); CC2 = iCustom("NZDUSD",60,"CC2",3,6,7,1); }
  if(OrderSymbol()=="EURGBP"){ CC1 = iCustom("EURGBP",60,"CC2",3,6,1,1); CC2 = iCustom("EURGBP",60,"CC2",3,6,2,1); }
  if(OrderSymbol()=="EURCHF"){ CC1 = iCustom("EURCHF",60,"CC2",3,6,1,1); CC2 = iCustom("EURCHF",60,"CC2",3,6,3,1); }
  if(OrderSymbol()=="EURJPY"){ CC1 = iCustom("EURJPY",60,"CC2",3,6,1,1); CC2 = iCustom("EURJPY",60,"CC2",3,6,4,1); }

That is, it gives the same values for all characters.

 
Sergey_Rogozin:

The interesting thing is that it gives the same values in all cases.

That is, it gives the same values for all characters.

Have you studied the iCastom function well?! The penultimate one is the indicator buffer number, and then the bar...
 
Sergey_Rogozin:

The interesting thing is that it gives the same values in all cases.

That is, it gives the same values for all characters.

By the way it can't be, put it on the screen so that you can see
 

Good evening, could you please enlighten me as to whether it is possible to pull out the period of the MAA in any way?

For example: Period(EMA13)=13

 
Sergey_Rogozin:

The interesting thing is that it gives the same values in all cases.

That is, it gives the same values for all characters.


Have you tried OrderSelect()?

Read for OrderSymbol() https://docs.mql4.com/ru/trading/OrderSymbol

 
100yan:

Good evening, could you please enlighten me as to whether it is possible to pull out the period of the MAA in any way?

For example: Period(EMA13)=13

And where are you going to pull it out from?
 
abolk:


and have you tried using OrderSelect()?

read for OrderSymbol() https://docs.mql4.com/ru/trading/OrderSymbol

what does order select have to do with it?

We take the data from the indicator, orders are not involved here

 
alsu:
Where are you going to take it out from?

double MA13=iMA(NULL,..... etc