TradingView
RyanMartin
27 Apr 2016 pukul 04.56

MACDouble + RSI (rec. 15min-2hr intrv) 

Huraian

Uses two sets of MACD plus an RSI to either long or short. All three indicators trigger buy/sell as one (ie it's not 'IF MACD1 OR MACD2 OR RSI > 1 = buy", its more like "IF 1 AND 2 AND RSI=buy", all 3 match required for trigger)

The MACD inputs should be tweaked depending on timeframe and what you are trading. If you are doing 1, 3, 5 min or real frequent trading then 21/44/20 and 32/66/29 or other high value MACDs should be considered. If you are doing longer intervals like 2, 3, 4hr then consider 9/19/9 and 21/44/20 for MACDs (experiment! I picked these example #s randomly).
Ideal usage for the MACD sets is to have MACD2 inputs at around 1.5x, 2x, or 3x MACD1's inputs.

Other settings to consider: try having fastlength1=macdlength1 and then (fastlength2 = macdlength2 - 2). Like 10/26/10 and 23/48/20. This seems to increase net profit since it is more likely to trigger before major price moves, but may decrease profitable trade %. Conversely, consider FL1=MCDL1 and FL2 = MCDL2 + (FL2 * 0.5). Example: 10/26/10 and 22/48/30 this can increase profitable trade %, though may cost some net profit.

Feel free to message me with suggestions or questions.
Komen
stockspro
I m using this stretegy with few calculations and geeting best results. Thanks sir you made my life.
RyanMartin
@stockspro, thanks! I really should update since stuff like (year>2015) was a lazy solution to limit old periods but the basic mechanics are still solid
vikithekingbros
Hi Ryan

I am newbie, how i can execute this script and get this trigger?
Kalghamdi12
it says couldnt be translated from B<E
RyanMartin
from B<E ? is that an abbreviation of what the error message showed up or what it said verbatim? I couldn't get it to reproduce on my end. Perhaps it was the symbol you were looking up it somehow didn't like. If you give me the specifics of what symbol and time interval you were using I'll see if I can help.
RyanMartin
Please feel free to comment with any complaints/suggestions/questions. I've noticed alot of people using and liking the script but I haven't gotten any feedback. I'd like to improve the script with better indicators but I'm not sure what people would like to see.
Lebih