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 ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

Kumar 2016 for Amibroker (AFL)

Rating:
3 / 5 (Votes 8)
Tags:
trading system, amibroker

HI TRADERS

THIS AFL IS DERIVED FROM VWAP AND ATP AS BASE.
EARLIER I WATCHED THEM SEPARATELY..ON A TWIST I COMBINED THEM.

TRADING IDEA FORMED SIMPLY BY CROSSOVER OF VWAP AND ATP.
ITS A SIMPLE PROGRAMME TO TRADE.RESULTS VARY FROM SCRIPS TO SCRIPS.

AS OF NOW I HAVE GIVEN IT FOR MCXGOLD.

AS FAR AS I’VE SEEN THIS METHOD DOES NOT PRODUCE MULTIPLE WHIPSAWS,
ITS OBSERVED THAT IN ANY GIVEN TRADING DAY, TRADES NOT EXCEEDING 5.
(IF SO IT SHOULD BE DUE TO SOME PENDING NEWS TO HIT THE MARKET)

WE MAY SEE FANTASTIC GAINS IF HELD 1 POSITION OPEN TILL EOD.
WE MAY ACCUMULATE 600+ POINTS IN A MONTH WHICH INCLUDES
STOP-LOSS TRADES AND NON TARGET HITTING REVERSALS.

HITS & SUGGESTIONS ARE WELCOME


HOW TO,WHAT TO,WHEN TO** ETC….

A. BUY ON GREEN SELL ON RED ARROWS

B. TRADE ON 5 MIN TIME FRAME.

C. TRADE IN MCX- GOLD

D. FIX 1ST TARGET 34 POINTS. SL 56 POINTS.

E. IF 2 LOTS TRADED EXIT 1ST ON 34 POINTS
MOVE TSL TO COST AND WAIT FOR EOD
IF REVERSAL OR SL HAPPENS THEN CONTINUE
AS PER SIGNALS.

F. AVOID TRADE WHEN DATA RELEASE TIMES
SUCH AS HOME SALES,JOB DATA,FED NEWS ETC.
FOR REF U MAY GET DETAILS HERE..

http://www.bloomberg.com/markets/economic-calendar

G. TRY TO ADOPT IN AUTOMATED TRADING.

Screenshots

Indicator / Formula

Copy & Paste Friendly
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{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", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );


_SECTION_BEGIN("VWAP");

Bars_so_far_today = 1 + BarsSince( Day() != Ref(Day(), -1));
StartBar = ValueWhen(TimeNum() == 090000, BarIndex());
TodayVolume = Sum(V,Bars_so_far_today);
IIf (BarIndex() >= StartBar, VWAP = Sum (C * V, Bars_so_far_today ) /
TodayVolume,0);
Plot (VWAP,"VWAP",colorGreen, styleThick);
_SECTION_END();

_SECTION_BEGIN("ATP");

DayChange = Day() != Ref(Day(), -1);
AvgTradePrice = Null;
CurDayBars = 0;
CurDayCloseSum = 0;
 
for (i = 0; i < BarCount; i++)
{
if (DayChange[i])
{
CurDayCloseSum = C[i];
CurDayBars = 1;
}
else
{
CurDayCloseSum = CurDayCloseSum + C[i];
CurDayBars++;
}
AvgTradePrice[i] = CurDayCloseSum / CurDayBars;
}
Plot(AvgTradePrice, "AvgTradePrice",colorRed,styleThick);
ATP=AvgTradePrice;
 
_SECTION_END();

Buy  =Cover=Ref(L,-1)>Ref(VWAP,-1) AND Ref(L,-1)>Ref(AvgTradePrice,-1)AND H>Ref(H,-1);
Short=Sell=Ref(AvgTradePrice,-1)>Ref(H,-1) AND Ref(VWAP,-1)>Ref(H,-1)AND L<Ref(L,-1);


Buy=ExRem(Buy,Short) OR ExRem(Buy,Sell) ;
Short=ExRem(Short,Buy) OR ExRem(Short,Cover);
Sell=ExRem(Sell,Buy);
Cover=ExRem(Cover,Short);


PlotShapes(IIf(Buy, shapeSquare, shapeNone),colorGreen, 0, L, Offset=-45);
PlotShapes(IIf(Buy, shapeSquare, shapeNone),colorLime, 0,L, Offset=-55); 
PlotShapes(IIf(Buy, shapeUpArrow, shapeNone),colorWhite, 0,L, Offset=-50); 
PlotShapes(IIf(Short, shapeSquare, shapeNone),colorRed, 0, H, Offset=55);
PlotShapes(IIf(Short, shapeSquare, shapeNone),colorOrange, 0,H, Offset=65); 
PlotShapes(IIf(Short, shapeDownArrow, shapeNone),colorWhite, 0,H, Offset=-60);

5 comments

1. ashwin74

very nice indicator. thanks a lot.

2. cvaji79

hi i need one simple coding any body help me out that

3. saidhana06

cvaji79

tell me strategy i will do the same
ksaiprasath@gmail.com

4. gupchup

Hi
Give sl and tgts for crudeoil pls

5. manuski

No arrow is coming. Red or green. No.

Leave Comment

Please login here to leave a comment.

Back