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 ....
Buy/Sell T+4 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 | _SECTION_BEGIN ( "Price" ); SetChartOptions (0, chartShowArrows | chartShowDates ); _N (Title = StrFormat ( "{{KhanhTruongMBS SGD}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}" , O , H , L , C , SelectedValue ( ROC ( C , 1 ) ) )); Plot ( C , "Close" , ParamColor ( "Color" , colorBlack ), styleDots | ParamStyle ( "Style" ) | GetPriceStyle () ); _SECTION_END (); mua = C > Ref ( H ,-1) AND C > Ref ( H ,-2) AND C > Ref ( H ,-3) AND C > Ref ( H ,-4) AND C * V >1000000 ; ban = C < Ref ( L ,-1) AND C < Ref ( L ,-2) AND C < Ref ( L ,-3) AND C < Ref ( L ,-4) ; Buy = ExRem (mua, ban); Sell = ExRem (ban, mua); PlotShapes ( IIf ( Buy , shapeUpArrow , shapeNone ), colorBlue ,0, Low ,Offset=-10); PlotShapes ( IIf ( Sell , shapeDownArrow , shapeNone ), colorRed ,0, High ,Offset=-10); Filter = Buy OR Sell ; AddColumn ( IIf ( Buy , 66,1 ), "buy" , formatChar, 1, bkcolor = IIf ( Buy , colorGreen , colorRed )); AddColumn ( IIf ( Sell , 83,1 ), "sell" , formatChar, 1, bkcolor = IIf ( Sell , colorRed , colorGreen )); AddColumn ( C , "close" ,1.2); AddColumn ( C * V , "Gia tri GD " ); AddColumn ((( C - Ref ( C ,-1))/ Ref ( C ,-1))*100 , "% Tang gia " ); AddColumn ((( V - MA ( V ,50))/ MA ( V ,50))*100 , "% Dot bien KL" ); _SECTION_END (); |