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.
Trading Signals
- 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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
//PRC_FxForecaster | indicator //27.03.2018 //Nicolas @ www.prorealcode.com //Sharing ProRealTime knowledge // --- settings period=10 MA1period=9 MA2period=45 // --- end of settings price=customclose 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 Value=Min(Max(Value,-0.999),0.999) Fish=0.5*Log((1+Value)/(1-Value))+0.5*Fish1 MA1 = average[MA1period](Fish) MA2 = weightedaverage[MA2period](MA1) Fish1=Fish Value1=Value endif RETURN MA1 coloured(238,130,238) style(histogram), MA2 coloured(255,255,255,150) style(histogram) |
Share this
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 :
Filename : download the ITF files
How to import ITF files into ProRealTime platform?
PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials
I was looking for the “pure” OSMA (moving average of oscillator) from MT4. Does anybody know the code for OSMA?
Please add a request on forums for any MT4 code conversion, thank you.
Follow these easy steps for any request: https://www.prorealcode.com/topic/free-conversion-mt4-indicators-mql4/
I will do so, thank you!
@mecon, did you ever get one?