OPEN-SOURCE SCRIPT
Updated mForex - 3 Moving Average - Parabolic SAR

Script identifies the uptrend and downtrend according to the average price of the MA and PSAR lines.
Rules of sale:
- Open short positions when:
- Stop loss:
- Profit-taking: Corresponding ratio of R: R (1: 2)
- Open long positions when:
- Stop loss:
- Profit-taking: Corresponding ratio of R: R (1: 2)
Rules of sale:
- Open short positions when:
- MA12 cuts MA26 and MA52 from the top.
- PSAR dots on the price line
- Stop loss:
- At the dots of PSAR and use Trailing Stop facing up
- On the nearest peak
- Profit-taking: Corresponding ratio of R: R (1: 2)
- Open long positions when:
- MA12 cuts MA26 and MA52 from the bottom.
- PSAR dots below the price line
- Stop loss:
- At the dots of PSAR and use Trailing Stop facing down
- Below the nearest peak
- Profit-taking: Corresponding ratio of R: R (1: 2)
Release Notes
Add a BUY / SELL signalRelease Notes
Remove SignalOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.