Closing price 15 periods ahead

Back to topics list To post a new topic, please log in or register
avatar
15
SELVAN 2016.01.12 19:04
 

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.


avatar
13009
WHRoeder 2016.01.12 22:21 #
 

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.

avatar
15
SELVAN 2016.01.13 17:57 #
 

i understood , and i am sorry

Back to topics list  

To add comments, please log in or register