Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 623

 
)))) please explain...... why this is the case, I need to understand and then I will experiment on my own.
 

Got it. I'll give it a try.

 
laveosa:
)))) please explain...... why this is the case, I need to understand and then I will experiment on my own.
You have a MA period of 150 on М5, to get the same MA on М5 multiply 150 by 5. We convert it to minutes because it has the longest period numerically, then when divided by Period() on any TF (within reasonable limits) it will be the same MA with a period of 150 on M5))
 

failed ..... the results on the M1 M5 M30 are different what could be wrong?

 
laveosa:

failed ..... the results on the M1 M5 M30 are different what could be wrong?


What kind of wand are you using? Although it does matter when trades are opened
 

M5L=NormalizeDouble(iLow(ed,PERIOD_M5,1),Digits);

What about this variable, which is the minimum, is there something wrong with it?

 
Change PERIOD_M5 to Period() everywhere in the code
 
Vinin:

What kind of waving machine do you use? Although the opening time of the trades does matter.

If I understood correctly what the wizard is, it's the same as above 150...
 
benzovoz:
Change PERIOD_M5 to Period() everywhere in the code

one min...
 
benzovoz:
Change PERIOD_M5 to Period() everywhere in the code

but then it will not be M5 minimum for example on the M30 chart, it will be M30 minimum and I want it to remain M5
Reason: