Closing price 15 periods ahead

 

Dear sir


To Refer Future Bars in Amirbroker we can use

Ref( ARRAY, period )


The formula "ref( CLOSE, -14 )" returns the closing price 14 periods ago. Thus, you could write the 14-day price rate-of-change (expressed in points) as "C - ref( C, -14 )." The formula "ref( C, 12 )" returns the closing price 12 periods ahead (this means looking up the future)


what is the equivalent in MQL4, How to Refer Future Price  like above.


Please Give me an Fully Solved Example.

 

There is no future price; the future is unknown.

I doubt you can get the future price in Amibroker but if you can why come here? Just open an order in the direction of the future price.

 

i understood , and i am sorry

Reason: