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 ....
shree serves 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 | //------------------------------------------------------ // // Formula Name: RMO Trading System // Author/Uploader: Trading Tuitions // E-mail: support@tradingtuitions.com // Website: www.tradingtuitions.com //------------------------------------------------------ _SECTION_BEGIN ( "RMO Trading System" ); SetBarsRequired ( sbrAll ); SetChartOptions (0, chartShowArrows | chartShowDates ); _N (Title = StrFormat ( "{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}" , O , H , L , C )); //Initial Parameters SetTradeDelays ( 1,1,1, 1 ); SetOption ( "InitialEquity" , 200000); SetOption ( "FuturesMode" , True ); SetOption ( "MinShares" ,1); SetOption ( "CommissionMode" ,2); SetOption ( "CommissionAmount" ,100); SetOption ( "AccountMargin" ,10); SetOption ( "RefreshWhenCompleted" , True ); //SetPositionSize(150,spsShares); SetPositionSize (50, spsPercentOfEquity ); SetOption ( "AllowPositionShrinking" , True ); Plot ( Close , "Price" , colorWhite , styleCandle ); SwingTrd1 = 100 * ( Close - (( MA ( C ,2)+ MA ( MA ( C ,2),2)+ MA ( MA ( MA ( C ,2),2),2) + MA ( MA ( MA ( MA ( C ,2),2),2),2) + MA ( MA ( MA ( MA ( MA ( C ,2),2),2),2),2) + MA ( MA ( MA ( MA ( MA ( MA ( C ,2),2),2),2),2),2) + MA ( MA ( MA ( MA ( MA ( MA ( MA ( C ,2),2),2),2),2),2),2)+ MA ( MA ( MA ( MA ( MA ( MA ( MA ( MA ( C ,2),2),2),2),2),2),2),2)+ MA ( MA ( MA ( MA ( MA ( MA ( MA ( MA ( MA ( C ,2),2),2),2),2),2),2), 2),2)+ MA ( MA ( MA ( MA ( MA ( MA ( MA ( MA ( MA ( MA ( C ,2),2),2),2),2),2), 2),2),2),2))/10))/( HHV ( C ,10)- LLV ( C ,10)); SwingTrd2= EMA (SwingTrd1,30); SwingTrd3= EMA (SwingTrd2,30); RMO= EMA (SwingTrd1,81); Buy = Cross (SwingTrd2,SwingTrd3); Short = Cross (SwingTrd3,SwingTrd2); Sell = Short ; Cover = Buy ; BuyPrice = Open ; SellPrice = Open ; ShortPrice = Open ; CoverPrice = Open ; Buy = ExRem ( Buy , Sell ); Sell = ExRem ( Sell , Buy ); Short = ExRem ( Short , Cover ); Cover = ExRem ( Cover , Short ); StopLoss= Param ( "SL" ,1,1,10,1); Target= Param ( "Target" ,5,5,40,5); ApplyStop (Type=0,Mode=1,Amount=StopLoss); ApplyStop (Type=1,Mode=1,Amount=Target); /* Plot Buy and Sell Signal Arrows */ PlotShapes ( IIf ( Buy , shapeSquare , shapeNone ), colorGreen , 0, L , Offset=-40); PlotShapes ( IIf ( Buy , shapeSquare , shapeNone ), colorLime , 0, L , Offset=-50); PlotShapes ( IIf ( Buy , shapeUpArrow , shapeNone ), colorWhite , 0, L , Offset=-45); PlotShapes ( IIf ( Cover , shapeSquare , shapeNone ), colorGreen , 0, L , Offset=-40); PlotShapes ( IIf ( Cover , shapeSquare , shapeNone ), colorLime , 0, L , Offset=-50); PlotShapes ( IIf ( Cover , shapeUpArrow , shapeNone ), colorWhite , 0, L , Offset=-45); PlotShapes ( IIf ( Sell , shapeSquare , shapeNone ), colorRed , 0, H , Offset=40); PlotShapes ( IIf ( Sell , shapeSquare , shapeNone ), colorOrange , 0, H , Offset=50); PlotShapes ( IIf ( Sell , shapeDownArrow , shapeNone ), colorWhite , 0, H , Offset=-45); PlotShapes ( IIf ( Short , shapeSquare , shapeNone ), colorRed , 0, H , Offset=40); PlotShapes ( IIf ( Short , shapeSquare , shapeNone ), colorOrange , 0, H , Offset=50); PlotShapes ( IIf ( Short , shapeDownArrow , shapeNone ), colorWhite , 0, H , Offset=-45); _SECTION_END (); |