TheChalleger's Journal - My Trading Journey 467 replies
DU23 Journal of a journey? 18 replies
zulemara's trade journal...A "magical" journey to wealth 6 replies
Mikali’s Journal – My Trading Journey Using the James16 Methodology 15 replies
MY Journey's Journal 11 replies
study(title="Smoothed Heiken Ashi",overlay = true, shorttitle="SmoothedHA") inpSMA = input(55, title="SMA1", type=integer) SMA1 = sma(close, inpSMA) // Define color for SMA1 co1 = SMA1[1] > SMA1[2] ? green : SMA1[1] < SMA1[2] ? red : yellow // Plot the SMA plot (SMA1, color = co1, linewidth=3, title="3rdSMA") // Smoothed Heiken Ashi candles halen1=input(6, title="HA Period 1", type=integer) o=ema(open,halen1) c=ema(close,halen1) h=ema(high,halen1) l=ema(low,halen1) haclose = (o+h+l+c)/4 haopen = na(haopen[1]) ? (o + c)/2 : (haopen[1] + haclose[1]) / 2 hahigh = max (h, max(haopen,haclose)) halow = min (l, min(haopen,haclose)) halen2=input(2, title="HA Period 2", type=integer) o2=ema(haopen, halen2) c2=ema(haclose, halen2) h2=ema(hahigh, halen2) l2=ema(halow, halen2) col=o2>c2 ? fuchsia : olive //plotcandle(o2, h2, l2, c2, title="heikin smoothed", color=col, editable=true) haPlot1=plot(o2,title="heiken Smoothed high",color=col) haPlot2=plot(c2,title="heiken Smoothed low",color=col) fill(haPlot1,haPlot2,col) // Define bull and bear conditions bull = (c2>o2) and not(c2[1]>o2[1]) bear = (o2>c2) and not(o2[1]>c2[1]) // Plot buy sell signals plotshape(bull,"Buy",shape.labelup,location.belowbar,green,text="Long") alertcondition(bull,"Long","Long") plotshape(bear,"Sell",shape.labeldown,location.abovebar,red,text="Short") alertcondition(bear,"Short", "Short") //End of Script SmoothedHeikenAshi
//@vesion=3 // Define the 3WMAs - M5 charts study(title="VirusBreakout",overlay = true, shorttitle="VirusBO") inp1stWMA = input(10, title="1stWMA-Fastest", type=integer) inp2ndWMA = input(20, title="2ndWMA-Slow", type=integer) inp3rdWMA = input(30, title="3rdWMA-Slowest", type=integer) inp5thSMA = input(50, title="5thSMA-Trend",type=integer) WMA1 = wma(close, inp1stWMA) WMA2= wma(close, inp2ndWMA) WMA3 = wma(close, inp3rdWMA) SMA5 = sma(close, inp5thSMA) // Define colors for the 3 WMAs co1 = WMA1[1] > WMA1[2] ? green : WMA1[1] < WMA1[2] ? red : yellow co2 = WMA2[1] > WMA2[2] ? green : WMA2[1] < WMA2[2] ? red : yellow co3 = WMA3[1] > WMA3[2] ? green : WMA3[1] < WMA3[2] ? red : yellow co5 = SMA5[1] > SMA5[2] ? green : SMA5[1] < SMA5[2] ? red : yellow // Plot the WMAs Plot1=plot (WMA1, color = co1, linewidth=1, title = "1stWMA") Plot2=plot (WMA2, color = co2, linewidth=1, title='2ndWMA') Plot3=plot (WMA3, color = co3, linewidth=1, title="3rdWMA") Plot5=plot (SMA5, color = co5, linewidth=3, title="5thSMA") fill(Plot1,Plot2,co1,transp = 90) fill(Plot2,Plot3,co2,transp = 90) // Notify when the 3 MA ribbon first forms bear = (WMA1<WMA2 and WMA2<WMA3) and not (WMA1[1]<WMA2[1] and WMA2[1]<WMA3[1]) bull = (WMA1>WMA2 and WMA2>WMA3) and not (WMA1[1]>WMA2[1] and WMA2[1]>WMA3[1]) // Plot buy sell signals plotshape(bull,"Buy",shape.labelup,location.belowbar,green,text="Long",textcolor=black,transp=50) plotshape(bear,"Sell",shape.labeldown,location.abovebar,red,text="Short",textcolor=black,transp=50) //End of Script VirusBreakout
//@vesion=3 study(title="Scalping with 3MA",overlay = true, shorttitle="Scalping3MA") inp1stMA = input(10, title="1stEMA-Fastest", type=integer) inp2ndMA = input(20, title="2ndEMA-Slow", type=integer) inp3rdMA = input(50, title="3rdSMA-Slowest", type=integer) inp4thMA = input(100, title="4thSMA-Slowest", type=integer) EMA1 = ema(close, inp1stMA) EMA2= ema(close, inp2ndMA) SMA3 = sma(close, inp3rdMA) SMA4 = sma(close, inp4thMA) // Define colors for the MAs co1 = EMA1[1] > EMA1[2] ? green : EMA1[1] < EMA1[2] ? red : yellow co2 = EMA2[1] > EMA2[2] ? green : EMA2[1] < EMA2[2] ? red : yellow co3 = SMA3[1] > SMA3[2] ? green : SMA3[1] < SMA3[2] ? red : yellow co4 = SMA4[1] > SMA4[2] ? green : SMA4[1] < SMA4[2] ? red : yellow // Plot the MAs Plot1=plot (EMA1, color = co1, linewidth = 1, title = "1stEMA") Plot2=plot (EMA2, color=co2, linewidth=2, title='2ndEMA') Plot3=plot (SMA3, color = co3, linewidth=3, title="3rdSMA") Plot4=plot (SMA4, color=co4, linewidth=3, title="4thSMA") fill(Plot1,Plot2,co1,transp = 90) fill(Plot3,Plot4,co3,transp = 90) // Notify when the MA ribbon first forms bear = (EMA1<EMA2 and EMA2<SMA3) and not (EMA1[1]<EMA2[1] and EMA2[1]<SMA3[1]) bull = (EMA1>EMA2 and EMA2>SMA3) and not (EMA1[1]>EMA2[1] and EMA2[1]>SMA3[1]) // Plot buy sell signals plotshape(bull,"Buy",shape.labelup,location.belowbar,green,text="Long",textcolor=black,transp=50) plotshape(bear,"Sell",shape.labeldown,location.abovebar,red,text="Short",textcolor=black,transp=50) //End of Script Scalping3MA
//@vesion=3 study(title="Snoopy 4MA",overlay = true, shorttitle="Snoopy4MA") inp1stMA = input(10, title="1stEMA-Fastest", type=integer) inp2ndMA = input(20, title="2ndEMA-Slow", type=integer) inp3rdMA = input(50, title="3rdSMA-Slowest", type=integer) inp4thMA = input(100, title="4thSMA-Slowest", type=integer) EMA1 = ema(close, inp1stMA) EMA2= ema(close, inp2ndMA) SMA3 = sma(close, inp3rdMA) SMA4 = sma(close, inp4thMA) // Define colors for the MAs co1 = EMA1[1] > EMA1[2] ? green : EMA1[1] < EMA1[2] ? red : yellow co2 = EMA2[1] > EMA2[2] ? green : EMA2[1] < EMA2[2] ? red : yellow co3 = SMA3[1] > SMA3[2] ? green : SMA3[1] < SMA3[2] ? red : yellow co4 = SMA4[1] > SMA4[2] ? green : SMA4[1] < SMA4[2] ? red : yellow // Plot the MAs Plot1=plot (EMA1, color = co1, linewidth = 1, title = "1stEMA") Plot2=plot (EMA2, color=co2, linewidth=2, title='2ndEMA') Plot3=plot (SMA3, color = co3, linewidth=3, title="3rdSMA") Plot4=plot (SMA4, color=co4, linewidth=3, title="4thSMA") fill(Plot1,Plot2,co1,transp = 90) fill(Plot3,Plot4,co3,transp = 90) // Notify when the MA ribbon first forms bear = (EMA1<EMA2 and EMA2<SMA3) and not (EMA1[1]<EMA2[1] and EMA2[1]<SMA3[1]) bull = (EMA1>EMA2 and EMA2>SMA3) and not (EMA1[1]>EMA2[1] and EMA2[1]>SMA3[1]) // Plot buy sell signals based on MA ribbon //plotshape(bull,"Buy",shape.labelup,location.belowbar,green,text="Long",textcolor=black,transp=50) //plotshape(bear,"Sell",shape.labeldown,location.abovebar,red,text="Short",textcolor=black,transp=50) // buy sell signals based on MACD and stoch [macdLine, signalLine, histLine] = macd(close, 12, 26, 9) stochvalue=stoch(close,14,3,1) bull1=crossover(histLine,0) and stochvalue<40 bear1=crossunder(histLine,0) and stochvalue>60 plotshape(bull1,"Long",shape.labelup,location.belowbar,green,text="Macd",textcolor=black,transp=50) plotshape(bear1,"Short",shape.labeldown,location.abovebar,red,text="Macd",textcolor=black,transp=50) // Plot S and R plotchar(highest(20),color=maroon,title="Resistance",char="R",location=location.absolute) plotchar(lowest(20),color=green,title="Support",char="S",location=location.absolute) //End of Script Snoopy4MA
//@vesion=3 study(title="Snoopy 3MA",overlay = true, shorttitle="Snoopy3MA") inp1stMA = input(10, title="1stEMA-Fastest", type=integer) inp2ndMA = input(20, title="2ndEMA-Slow", type=integer) inp3rdMA = input(50, title="3rdSMA-Slowest", type=integer) inp4thMA = input(100, title="4thSMA-Slowest", type=integer) EMA1 = ema(close, inp1stMA) EMA2= ema(close, inp2ndMA) SMA3 = sma(close, inp3rdMA) SMA4 = sma(close, inp4thMA) // Define colors for the MAs co1 = EMA1[1] > EMA1[2] ? green : EMA1[1] < EMA1[2] ? red : yellow co2 = EMA2[1] > EMA2[2] ? green : EMA2[1] < EMA2[2] ? red : yellow co3 = SMA3[1] > SMA3[2] ? green : SMA3[1] < SMA3[2] ? red : yellow co4 = SMA4[1] > SMA4[2] ? green : SMA4[1] < SMA4[2] ? red : yellow // Plot the MAs Plot1=plot (EMA1, color = co1, linewidth = 1, title = "1stEMA") Plot2=plot (EMA2, color=co2, linewidth=2, title='2ndEMA') Plot3=plot (SMA3, color = co3, linewidth=3, title="3rdSMA") //Plot4=plot (SMA4, color=co4, linewidth=3, title="4thSMA") fill(Plot1,Plot2,co1,transp = 90) //fill(Plot3,Plot4,co3,transp = 90) // Notify when the MA ribbon first forms bear = (EMA1<EMA2 and EMA2<SMA3) and not (EMA1[1]<EMA2[1] and EMA2[1]<SMA3[1]) bull = (EMA1>EMA2 and EMA2>SMA3) and not (EMA1[1]>EMA2[1] and EMA2[1]>SMA3[1]) // Plot buy sell signals based on MA ribbon //plotshape(bull,"Buy",shape.labelup,location.belowbar,green,text="Long",textcolor=black,transp=50) //plotshape(bear,"Sell",shape.labeldown,location.abovebar,red,text="Short",textcolor=black,transp=50) // buy sell signals based on MACD [macdLine, signalLine, histLine] = macd(close, 12, 26, 9) bull1=(histLine>0 and close>SMA3) and not (histLine[1]>0 and close[1]>SMA3[1]) bear1=(histLine<0 and close<SMA3) and not (histLine[1]<0 and close[1]<SMA3[1]) plotshape(bull1,"Long",shape.labelup,location.belowbar,green,text="Long",textcolor=black,transp=50) plotshape(bear1,"Short",shape.labeldown,location.abovebar,red,text="Short",textcolor=black,transp=50) // Plot S and R plotchar(highest(20),color=maroon,title="Resistance",char="R",location=location.absolute) plotchar(lowest(20),color=green,title="Support",char="S",location=location.absolute) //End of Script Snoopy3MA