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

نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الرمز في المنشور يخضع لقواعد‎‎قوانين الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟


يعمل أيضًا:

إخلاء المسؤولية