Peak ? Trough ?

 
hello

i will convert Metastock code to MQL but
what is Peak ? Trough ?

Metastock code:
Peak(1,H,10)>=0.9*Peak(2,H,10) AND Trough(1,L,10)>=1.1*Trough(2,H,10)
 
I think you're going to need to look to the following functions
Highest(...);
Lowest(...);
 
save ?


Peak= highest and Trough = Lowest ?


LLV = Lowest and HHV = Highest !


NO

help me please
 
Have you looked at the dictionary?
 
yes
Reason: