-Simplified inputs SuperTrend 2 - Period = SuperTrend 1 Period Multiplier = SuperTrend 1 Multiplier * 2 -Added RSI Oversold Buy -Added optional bar color
הערות שחרור
⋅
-Added short entries. -Removed oversold RSI longs.
הערות שחרור
⋅
-RSI Oversold buy re-added. -Fixed Long alert for RSI Oversold Buy.
הערות שחרור
⋅
-Default settings changed.
הערות שחרור
⋅
Fixed barcolor
הערות שחרור
⋅
-Cleaned up code -Added inputs for both SuperTrend clouds to make it more adjustable. -Added SL line (center of cloud). -Added option to only exit after fully crossing cloud.
To come up with optimal settings use the strategy.A good starting point is 5m charts use 10,6,6,10 (Multiplier 1, Period 1, Multiplier 2, Period 2) or 4h Chart 3,10,6,10 (Multiplier 1, Period 1, Multiplier 2, Period 2)
הערות שחרור
⋅
-Fixed a case where cloud entry (No Trade Zone) wasn't always triggered.
הערות שחרור
⋅
1. Added Optional Stop Loss 2. Added Optional Take Profit 3. Added Optional Look Back Days
This works great! Thank you for posting the pine script. It helps a noob like me understand the power of pine!
jhanson107
⋅
@zpeach, No problem man! I am fairly new to pine as well but you will quickly become accustomed to it after writing a few scripts and it's a handy language to learn :)