// Downloaded From https://www.WiseStockTrader.com Short = 0; Cover = 0; /*Buy = C > WMA(C,100) AND Cross(C,EMA(C,100)); Sell = C < WMA(C,100) AND Cross(C,EMA(C,100));*/ /*Buy = WMA(C,50) > WMA(C,100) AND Ref(WMA(C,50),-1) < Ref(WMA(C,100),-1); Sell = WMA(C,50) < WMA(C,100) AND Ref(WMA(C,50),-1) > Ref(WMA(C,100),-1); */ //Buy=ExRem(Buy,Sell); //Sell = ExRem(Sell,Buy); Buy = C > WMA(C,100) AND Ref(C,-1) < Ref(WMA(C,100),-1); Sell = C <= WMA(C,100) AND Ref(C,-1) > Ref(WMA(C,100),-1); Buy=ExRem(Buy,Sell); Sell = ExRem(Sell,Buy); PlotShapes(shapeUpArrow*Buy,colorBrightGreen); PlotShapes(shapeDownArrow*Sell,colorRed);