Download MetaTrader 5

Metastock to metatrader 4

To add comments, please log in or register
Yasin İPEK
24
Yasin İPEK  

Metastock formula:

HHV(C,8)

 please mql4 code. 

rod178
272
rod178  
JC
1498
JC  
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
24
Yasin İPEK  
thank you jjc
Yasin İPEK
24
Yasin İPEK  
hassiktir rod178
To add comments, please log in or register