Stock Portfolio Organizer
The ultimate porfolio management solution.
Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
pugazh intraday system for Amibroker (AFL)
Copy & Paste Friendly
Back
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 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | _SECTION_BEGIN ( "PRICE" ); SetChartOptions (0, chartShowArrows | chartShowDates , colorRed ); Plot ( C , "Price" , IIf ( C > O , colorBrightGreen , colorBrown ), styleCandle ); _N (Title = StrFormat ( "{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol " + WriteVal ( V , 1.0 ) + " {{VALUES}}" , O , H , L , C , SelectedValue ( ROC ( C , 1 )) )); Plot ( C , "Close" , ParamColor ( "Color" , colorBlack ), styleNoTitle | ParamStyle ( "Style" ) | GetPriceStyle () ); if ( ParamToggle ( "Tooltip shows" , "All Values|Only Prices" ) ) { ToolTip= StrFormat ( "Open: %g\nHigh: %g\nLow: %g\nClose: %g (%.1f%%)\nVolume: " + NumToStr ( V , 1 ), O , H , L , C , SelectedValue ( ROC ( C , 1 ))); } _SECTION_END (); _SECTION_BEGIN ( "Name" ); GfxSetOverlayMode (1); GfxSelectFont ( "Tahoma" , Status ( "pxheight" )/6 ); GfxSetTextAlign ( 6 ); // center alignment GfxSetTextColor ( ColorHSB ( 43, 43, 73 ) ); GfxSetBkMode (0); // transparent GfxTextOut ( Name (), Status ( "pxwidth" )/2, Status ( "pxheight" )/12 ); GfxSelectFont ( "Tahoma" , Status ( "pxheight" )/22 ); GfxSelectFont ( "Tahoma" , Status ( "pxheight" )/28 ); GfxSelectFont ( "Tahoma" , Status ( "pxheight" )/26 ); GfxTextOut ( "WWW.DAYTRADINGSYSTEM-NSEINDIA.BLOGSPOT.COM" , Status ( "pxwidth" )/2, Status ( "pxheight" )/3 ); _SECTION_END (); _SECTION_BEGIN ( "PUGAZH SYSTEM" ); SetBarsRequired (1000000, 1000000); SetChartOptions (2, chartShowArrows | chartShowDates ); SetTradeDelays (0,0,0,0); period = Param ( "Period" , 13, 1, 240, 1); mult = Param ( "Multiplier" , 1.7, 1, 240, 0.1); showPrice = ParamToggle ( "Show Price" , "No|yes" ,1); showArrows = ParamToggle ( "Show Arrows" , "No|yes" ,1); showRibbon = ParamToggle ( "Show Ribbon" , "No|yes" ,1); f= ATR (period); VS[0] = Close [0]; trend[0] = 0; HighC[0]=0; Lowc[0]=0; for ( i = period+1; i < BarCount ; i++ ) { vs[i] = vs[i-1]; trend[i] = trend[i-1]; highC[i] = HighC[i-1]; lowc[i] = lowc[i-1]; if ((trend[i]>=0) && ( C [i] <VS[i] )) { trend[i] =-1; HighC[i] = C [i]; lowc[i] = C [i]; } if ((trend[i]<=0) && ( C [i] >VS[i])) { trend[i]=1; HighC[i] = C [i]; lowc[i] = C [i]; } if (trend[i]==-1) { if ( C [i]<lowc[i]) lowc[i] = C [i]; VS[i]= lowc[i]+ (mult*f[i]); } if (trend[i]==1) { if ( C [i]>HighC[i]) HighC[i] = C [i]; VS[i]= HighC[i]-(mult*f[i]); } } Buy = Cross (Trend,0); Sell = Cross (0, Trend); Short = Sell ; Cover = Buy ; if (ShowPrice) Plot ( Close , "Close" , colorBlack , styleCandle ); Plot (VS, "Vol Stop" , IIf (trend==1,10,11 ), styleThick ); mkol = IIf ( Trend==1, 10, 11); if (ShowRibbon) Plot (5, "ribbon" , mkol, styleOwnScale | styleArea | styleNoLabel | styleNoTitle , 0, -5); shape = Buy * shapeUpArrow + Sell * shapeDownArrow ; if (ShowArrows) PlotShapes ( shape, IIf ( Buy , colorGreen , colorRed ), 0, IIf ( Buy , Low -f, High +f)); AlertIf ( Buy , "SOUND C:\\Windows\\Media\\timeout.wav" , "Sell " + C ,2,1+2,1); AlertIf ( Sell , "SOUND C:\\Windows\\Media\\timeout.wav" , "Buy " + C ,1,1+2,1); _SECTION_END (); _SECTION_BEGIN ( "Name" ); GfxSetOverlayMode (1); GfxSelectFont ( "Tahoma" , Status ( "pxheight" )/6 ); GfxSetTextAlign ( 6 ); // center alignment GfxSetTextColor ( ColorHSB ( 43, 43, 73 ) ); GfxSetBkMode (0); // transparent GfxTextOut ( Name (), Status ( "pxwidth" )/2, Status ( "pxheight" )/12 ); GfxSelectFont ( "Tahoma" , Status ( "pxheight" )/22 ); GfxSelectFont ( "Tahoma" , Status ( "pxheight" )/28 ); GfxSelectFont ( "Tahoma" , Status ( "pxheight" )/26 ); GfxTextOut ( "WWW.DAYTRADINGSYSTEM-NSEINDIA.BLOGSPOT.COM" , Status ( "pxwidth" )/2, Status ( "pxheight" )/3 ); _SECTION_END (); |