[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] help with coding formula



PureBytes Links

Trading Reference Links

I need help coding the following formula:

htf = The high over the past 200 trading days

ltf = The low over the past 200 trading days

x = (htf - close)/htf
y = (ltf - close)/ltf

momentum = y/ (y + x)

I would like to be able to plot it on a graph and set up as an 
exploration.

Thanks