Download MetaTrader 5
To add comments, please log in or register
Add our channel to friends and follow the news!
Yasin İPEK
18
Yasin İPEK 2015.09.25 19:07 

Metastock formula:

HHV(C,8)

 please mql4 code. 

rod178
274
rod178 2015.09.26 16:13  
JC
1453
JC 2015.09.26 16:17  
yasinipek:

Metastock formula:

HHV(C,8)

 please mql4 code. 

Looks like:

Close[iHighest(NULL, 0, MODE_CLOSE, 8, 0)]

... i.e. the highest of the last 8 close values. iHighest() returns the index (0-7) of the bar containing the highest close; the Close[] array then provides the closing price for the bar identified.

Yasin İPEK
18
Yasin İPEK 2015.09.26 19:35  
thank you jjc
Yasin İPEK
18
Yasin İPEK 2015.09.26 19:35  
hassiktir rod178
/
To add comments, please log in or register