The FX Forecaster provides buy and sell signals based on moving average cross-overs and the OSMA indicator.
The histograms are based upon Fisher transform calculation.
- BUY: Wait for the black and purple bar to appear above the 0 level.
- SELL: Wait for the black and purple bar to appear below the 0 level.
Converted from MT4 indicator code by a request in our indicators coding forum.
//PRC_FxForecaster | indicator
//Nicolas @ www.prorealcode.com
//Sharing ProRealTime knowledge
// --- settings
// --- end of settings
if barindex>MA2period then
MaxH = highest[period](high)
MinL = lowest[period](low)
Value=0.33*2*((price-MinL)/(MaxH-MinL)-0.5) + 0.67*Value1
MA1 = average[MA1period](Fish)
MA2 = weightedaverage[MA2period](MA1)
RETURN MA1 coloured(238,130,238) style(histogram), MA2 coloured(255,255,255,150) style(histogram)
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.ProRealTime ITF files and other attachments :