OPEN-SOURCE SCRIPT

Full strategy AllinOne with risk management MACD RSI PSAR ATR MA

Hey, I am glad to present you one of the strategies where I put a lot of time in it.

This strategy can be adapted to all type of timecharts like scalping, daytrading or swing.

The context is the next one :
First we have the ATR to calculate our TP/SL points. At the same time we have another rule once we enter(we enter based on % risk from total equity, in this example 1%, at the same time, lowest ammount for this example is 0.1 lots, but can be modified to 0.01), so we can exit both by tp/sl points, or by losing 1% of our equity or winning 1% of our total equity. It's dinamic.

The strategy is made from
Trend direction :
PSAR

First confirmation point :
Crossover between 10EMA and Bollinger bands middle point

Second confirmation
MACD histogram

Third confirmation
RSI overbought/oversold levels


For entries : we check trend with psar, then once ema cross bb middle point, we confirm together with rsi level for overbought/oversold and macd histogram ( > 0 or <0).

We exit, when we have opposite sign, like from buy to sell or sell to buy, or when we reach tp/sl points, or when we reach % basaed equity points.

It can be changed to be fixed lots, or fixed tp/sl , you just have to uncomment the size from entries, and tp/sl lines.

At the same time, it has the possibility if one desires, to trade only concrete forex session like european, asian and so on for intraday trading.

Hope you enjoy it.


Let me know how it goes.
ATRExponential Moving Average (EMA)FULLMoving Average Convergence / Divergence (MACD)Relative Strength Index (RSI)riskmanagementstrategyriskmanagmentscalpingswingtradingsystem

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer