Specifiche
I need a pine trading view indicator that has a 70% win rate converted to MT4. A you tube channel by the name of trading rush has developed n idicator with 70% win called the beep boop indicator,with the problem being its in pine code
some back ground info trading Rush channels tests indicators 100x to find out their actually win rate. He has developed this indication which is a combination of macd and it has a 70% win rate,he even tested it a 100x times
I ask that you please convert it and if you can make it into an EA that be great too as he made a trading robot with the same code
link to his youtube https://www.youtube.com/channel/UCgY_eHY4NCTcRnU6CCZXWng
hers a video where he used the same code in a robot so its possible to turn it into an EA? https://www.youtube.com/watch?v=87h2i57FFSY&t=427s
link to where the free pine script is https://www.patreon.com/posts/improved-beep-be-43750203
the video where he tests it 100x times https://www.youtube.com/watch?v=X2Al4ymrNb0
the code
Source code (TradingView) starts below this line:
//@version=4
study(title="Beep Boop", shorttitle="Beep Boop", resolution="")
fast_length = input(title="Fast Length", type=input.integer, defval=12)
slow_length = input(title="Slow Length", type=input.integer, defval=26)
EMATrend = input(title="EMA Trend", type=input.integer, defval=50)
src = input(title="Source", type=input.source, defval=close)
signal_length = input(title="Signal Smoothing", type=input.integer, minval = 1, maxval = 50, defval = 9)
sma_source = input(title="Simple MA(Oscillator)", type=input.bool, defval=false)
sma_signal = input(title="Simple MA(Signal Line)", type=input.bool, defval=false)
col_grow_above = #26A69A
col_grow_below = #FF0000
col_fall_above = #FFFFFF
col_fall_below = #FFFFFF
col_macd = #0094ff
col_signal = #ff6a00
fast_ma = sma_source ? sma(src, fast_length) : ema(src, fast_length)
slow_ma = sma_source ? sma(src, slow_length) : ema(src, slow_length)
macd = fast_ma - slow_ma
signal = sma_signal ? sma(macd, signal_length) : ema(macd, signal_length)
hist = macd - signal
if (hist > 0)
hist := 0.1
if (hist < 0)
hist := 0.09
fastMA = ema(close, EMATrend)
//fastMA = 0
plot(hist, title="Histogram", style=plot.style_columns, color=(hist == 0.1 ? ((hist == 0.1) and (close > fastMA) and (open > fastMA) and (low > fastMA) ? col_grow_above : col_fall_above) : ((hist == 0.09) and (close < fastMA) and (open < fastMA) and (high < fastMA)? col_grow_below : col_fall_below) ), transp=0 )