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 :
Filename : download the ITF filesHow 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?