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 :

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.
Keluarkan daripada Skrip Pilihan Tambah kepada Skrip Pilihan
If you like my work and you can help me, feel free to donate me :)

ETH: 0x0a1c00F924F6c529D8BC98D71D77AF75a60878CF

BTC: 347p8NNwnHmAUfyJXWaeLUgrpHwthmr5UP



Thanks for sharing this. And putting the hard work. This is a gem and is going to help me a lot. Appreciate it.
+1 Balas
@pvr17, thank you for your kind words mate :) enjoy it
+1 Balas
Appreciate you sharing this, very interesting strategy and it seems you have putten a lot of work/thought on it. I know how hard is to build a strategy.
By the way, should the indicator at the bottom plot something?
+1 Balas
SoftKill21 dman103
@dman103, Thank you mate for your kind words. No, its just there, but if you want to have a visual of how the strategy works, you can put on screen an EMA 10, a BB with 17 and 2 params, then PSAR with 0.02 and 0.02 and 0.2 max, an MACD and an RSI. I can give you a link to have an idea how it looks like . Something like this : .
dman103 SoftKill21
@SoftKill21, Roger that, thanks!
can I run this script in Meta trade 4?
SoftKill21 arahman4u
@arahman4u, not directly. You would need to create alerts here first and after that use a bridge to send alerts to MT4. Scripts from TradingView are only made to be used for this platform, you can however if you know programming, to copy the idea behind and change it to mql4 language for MT4 platform.
Nice script but I think I've found a bug... It always opens orders with 10000 contracts. If you change the settings to open trades based on % of equity, the order size for every order opened remains the same (10000).
SoftKill21 spdoinkal
@spdoinkal, hey mate, its not necesarily a bug. Check the size line(LINE 228), and you will see that I force the minimum to be 10.000 contracts. You can force the minimum to be 1000, this way it adapts much better to the % of equity.
spdoinkal SoftKill21
@SoftKill21, thanks for your reply, yeah I spotted that line. Was wondering why you opted to put a minimum in the script to override the settings?
Laman Utama Penyaring Saham Penyaring Forex Penyaring Kripto Kalendar Ekonomi Bagaimana ia berfungsi Ciri-ciri Carta Harga Rujuk rakan Peraturan Dalaman Pusat Bantuan Laman web dan Penyelesaian Broker Widget Penyelesaian Pencartaan Perpustakaan Pencartaan yang Ringan Blog & Berita Twitter
Profil Tetapan Profil Akaun dan Pengebilan Kawan-kawan yang dirujuk Coin Tiket Sokongan Saya Pusat Bantuan Idea yang diterbitkan Pengikut Mengikuti Mesej Peribadi Sembang Daftar Keluar