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 ....
bharathy best analice 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 | _SECTION_BEGIN ( "Analysis" ); M1= EMA (((2* WMA ( C ,50/2))- WMA ( C ,200)),2); M2= EMA (((2* WMA ( C ,200/2))- WMA ( C ,200)),5); Buy = Cross (M1, M2) ; Sell = Cross (M2, M1) ; Buy = ExRem ( Buy , Sell ); Sell = ExRem ( Sell , Buy ); mycolor = IIf (M1 > M2, colorLime , colorRed ); shape = Buy * shapeUpArrow + Sell * shapeDownArrow ; PlotShapes ( shape, IIf ( Buy , colorGreen , colorRed ),0, IIf ( Buy , Low , High ) ); dist = 1.5* ATR (20); for ( i = 0; i < BarCount ; i++ ) { if ( Buy [i] ) PlotText ( "Buy\n@" + Close [i], i, Low [i] - dist[i], colorGreen ); if ( Sell [i] ) PlotText ( "sell\n@" + Close [i], i, Low [i] + dist[i], colorRed ); } Plot ( Close , "Close" , mycolor, styleNoTitle | styleBar | styleThick ); _SECTION_END (); _SECTION_BEGIN ( "camarilla levels" ); //---- pivot points DayH = TimeFrameGetPrice ( "H" , inDaily , -1); // yesterdays high DayL = TimeFrameGetPrice ( "L" , inDaily , -1); //low DayC = TimeFrameGetPrice ( "C" , inDaily , -1); //close DayO = TimeFrameGetPrice ( "O" , inDaily ); // current day open // camarilla pivots if ( True ) { R = DayH - DayL; // range PP = (DayH + DayL + DayO + DayO) / 4 ; R4 = (R * 1.1/2)+DayC; R3 = (R * 1.1/4)+DayC; S3 = DayC-(R * 1.1/4); S4 = DayC- (R * 1.1/2); } Plot (R4, "" , colorGreen , styleLine ); Plot (R3, "R3" , colorRed , styleLine ); |