This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community

Peak ? Trough ?


Back to topics list
avatar
44
Alexac04 2005.11.18 21:13 
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)
avatar
242
GT48aec42c270a6 2005.11.18 23:34 
I think you're going to need to look to the following functions

Highest(...);
Lowest(...);

avatar
44
Alexac04 2005.11.18 23:59 
save ?


Peak= highest and Trough = Lowest ?


LLV = Lowest and HHV = Highest !


NO

help me please
avatar
242
GT48aec42c270a6 2005.11.19 05:11 
Have you looked at the dictionary?
avatar
44
Alexac04 2005.11.19 15:41 
yes
Back to topics list  
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets