Stock Portfolio Organizer
The ultimate porfolio management solution.
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Advanced Support Resistance for Amibroker (AFL)
Advanced Support Resistance
Good Tool For Turning points in market
Screenshots
Similar Indicators / Formulas
Indicator / Formula
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | /////////////////////////////////////////////////////////////////////////////////////////// SetChartOptions (0, chartShowArrows | chartShowDates ); _N (Title = StrFormat ( "{{NAME}} - {{INTERVAL}} {{DATE}} ,{{VALUES}}" , O , H , L , C , SelectedValue ( ROC ( C , 1 ) ) )); Plot ( C , "" , IIf ( O >= C , colorRed , colorBlue ), styleCandle ); SetChartBkGradientFill ( ParamColor ( "Inner panel upper" , colorBlack ), ParamColor ( "Inner panel lower" , colorBlack )); _N (Title = EncodeColor ( colorWhite )+ StrFormat ( " {{NAME}} - {{INTERVAL}} {{DATE}} Open:%g, Close:%g ,{{VALUES}}" , O , C )); ///////////////////////////////////////////////////////////////////////////////////////////// Plot ( EMA ( C ,5), "" , colorYellow ); ///////////////////////////////////////////////////////////// per1= Param ( "per1" , 0.1,0.1,50,0.10); per=per1; x = Cum (1); s1= L ; s11= H ; pS = TroughBars ( s1, per, 1 ) == 0; endt= SelectedValue ( ValueWhen ( pS, x, 1 )); startt= SelectedValue ( ValueWhen ( pS, x, 2 )); dtS =endt-startt; endS = SelectedValue ( ValueWhen ( pS, s1, 1 ) ); startS = SelectedValue ( ValueWhen ( pS, s1, 1 )); aS = (endS-startS)/dtS; bS = endS; trendlineS = aS * ( x -endt ) + bS; g3= IIf (x>startt-10,trendlineS,-1e10); Plot (g3, "" , colorRed , styleDots , styleThick ); pR = PeakBars ( s11, per, 1 ) == 0; endt1= SelectedValue ( ValueWhen ( pR, x, 1 )); startt1= SelectedValue ( ValueWhen ( pR, x, 2 )); dtR =endt1-startt1; endR = SelectedValue ( ValueWhen ( pR, s11, 1 ) ); startR = SelectedValue ( ValueWhen ( pR, s11, 1 )); aR = (endR-startR)/dtR; bR = endR; trendlineR = aR * ( x -endt1 ) + bR; g4= IIf (x>startT1-10,trendlineR,-1e10); Plot (g4, "" , colorGreen , styleDots , styleThick ); ////////////////////////////////////////////////////////////////////////////////////////////////// perc=per1; x= BarIndex ();xx= SelectedValue (x); t1= SelectedValue ( ValueWhen ( PeakBars ( C ,perc)==0,x)) ; H1= SelectedValue ( ValueWhen ( PeakBars ( C ,perc)==0, C )) ; t11= SelectedValue ( ValueWhen ( TroughBars ( C ,perc)==0, x)); H11= SelectedValue ( ValueWhen ( TroughBars ( C ,perc)==0, C )); g=t1>t11; shape= IIf (g, shapeDownArrow *(x==t1), shapeUpArrow *(x ==t11)); Color= IIf (g, colorRed , colorGreen ); PlotShapes (shape,color); ///////////////////////////////////////////////////////////////////////////////////////////////// per=per1; x = Cum (1); s1= C ; s11= C ; pS = TroughBars ( s1, per, 1 ) == 0; endt= SelectedValue ( ValueWhen ( pS, x, 1 )); startt= SelectedValue ( ValueWhen ( pS, x, 2 )); dtS =endt-startt; endS = SelectedValue ( ValueWhen ( pS, s1, 1 ) ); startS = SelectedValue ( ValueWhen ( pS, s1, 2 )); aS = (endS-startS)/dtS; bS = endS; trendlineS = aS * ( x -endt ) + bS; g3= IIf (x>startt-10,trendlineS,-1e10); Plot (g3, "" , colorRed , styleThick ); pR = PeakBars ( s11, per, 1 ) == 0; endt1= SelectedValue ( ValueWhen ( pR, x, 1 )); startt1= SelectedValue ( ValueWhen ( pR, x, 2 )); dtR =endt1-startt1; endR = SelectedValue ( ValueWhen ( pR, s11, 1 ) ); startR = SelectedValue ( ValueWhen ( pR, s11, 2 )); aR = (endR-startR)/dtR; bR = endR; trendlineR = aR * ( x -endt1 ) + bR; g4= IIf (x>startT1-10,trendlineR,-1e10); Plot (g4, "" , colorGreen , styleThick ); ////////////////////////////////////////////////////////////////////////////// |
0 comments
Leave Comment
Please login here to leave a comment.
Back