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

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


Também em:

Aviso legal