Sunday 17 May 2015

15 or 30 Min Indian Currency Market for Amibroker (AFL)


15 or 30 Min Indian Currency Market for Amibroker (AFL)




_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
Plot( C, "Close", colorDefault, styleNoTitle | GetPriceStyle() );

_SECTION_END();

_SECTION_BEGIN(" Settings");
Periods = Param("Call Sensitivity", 3, 2, 40, 1 );
accm = Param("StopLoss Sensitivity", 0.16, 0, 1, 0.001 );
_SECTION_END();

_SECTION_BEGIN("Buy Sell Declaration");
VAL=MA( Close, Periods);
B  = C>Val;
S = C<Val;
B1 = Ref(B,-1);
S1 = Ref(S,-1);

Sell = S AND S1;
Buy  = B AND B1;

Buy=ExRem(Buy,Sell) ;
Sell=ExRem(Sell,Buy);
PlotShapes( IIf( Buy, shapeUpArrow, shapeNone ), colorBrightGreen ,layer = 0, yposition = C, offset = -45 );
PlotShapes( IIf( Sell, shapeDownArrow, shapeNone ), colorRed ,layer = 0, yposition = C, offset = -45 );
_SECTION_END();

_SECTION_BEGIN("MsgBoards");
Call=IIf(Sell,Sell,IIf(Buy,Buy,0));
BuyPrice=ValueWhen(Buy,H);
SellPrice=ValueWhen(Sell,L);
CP=IIf(Sell,SellPrice,IIf(Buy,BuyPrice,0));
Callprice=ValueWhen(Buy OR Sell,CP);
YC=TimeFrameGetPrice("C",inDaily,-1);
TO=TimeFrameGetPrice("O",inDaily,0);
YH=TimeFrameGetPrice("H",inDaily,-1);
YL=TimeFrameGetPrice("L",inDaily,-1);
MKTRANGE=YH-YL;


acc = 0.15;
VALSAR=SAR(acc,accm);



for(i=BarCount-1;i>1;i--)
{
if(Buy[i]  == 1)
{
sig = "BUY";
entry = BuyPrice[i];
GfxSelectSolidBrush( colorDarkGreen );
GfxSelectPen( colorLime, 1);
GfxTextOut(" 15 / 30 Minutes Currency India", 13 , 360);
GfxTextOut("Version 1.0 Final - 11th April 2015", 13, 390);


stoploss=IIf(Call==Buy AND VALSAR<C,VALSAR,IIf(Call==Sell AND VALSAR>C,VALSAR,0.0));
slcolor=IIf(VALSAR<C,colorRed,colorGrey50);
Plot( VALSAR, "stop line", slcolor , styleStaircase | styleDashed | styleNoTitle);

i = 0;
}
if(Sell[i] == 1)
{
sig = "SELL";
entry = SellPrice[i] ;


stoploss=IIf(Call==Buy AND VALSAR<C,VALSAR,IIf(Call==Sell AND VALSAR>C,VALSAR,0.0));
slcolor=IIf(VALSAR>C,colorLime,colorGrey50);
Plot( VALSAR, "stop line", slcolor , styleStaircase| styleDashed | styleNoTitle);

bars = i;
i = 0;
}
}

GfxRoundRect( 5, 350, 150, 290 , 7, 7 );

GfxSelectFont("Times New Roman", 20, 700, True );
GfxSetBkMode( colorPink ); 
GfxSetTextColor (colorYellow );
GfxTextOut("  15 - 30 Minutes Currency India", 55 , 520);
GfxSelectFont("Times New Roman", 13, 700, True );
GfxSetTextColor (colorYellow);
GfxTextOut(" 15 or 30 Minutes on USD/INR - GBP/INR - JPY/INR - EUR/INR", 55 , 550);


GfxSetTextColor (colorWhite);
GfxSelectFont("Times New Roman", 11, 700, True );
GfxTextOut("Yesterdays Closing : "+ Prec(YC,2), 5 , 55);
GfxTextOut("Todays Open : "+ Prec(TO,2), 5 , 70);
GfxTextOut("YESTERDAY HIGH/LOW :  "+ Prec(YH,2)+ "  /  "+ Prec(YL,2), 5 , 85);
GfxTextOut("YESTERDAYS MARKET RANGE :  "+ Prec(MKTRANGE,2), 5 , 100);

GfxSetTextColor (colorWhite );
GfxSelectFont("Times New Roman", 11, 700, True );
GfxSetBkMode( colorBlack );

GfxSelectFont("Times New Roman", 11, 700, True );
GfxSetBkMode( colorBlack );
GfxTextOut(" " + sig + " @ "+ Callprice, 13 , 300);
GfxTextOut("Stop Loss : " + stoploss, 13 , 330);

NoteSet("", "
Stratergy Name :
K.I.S.S - 15 / 30 Minutes Currency India Version 1.0 Final.

Key Features:
1) intraday book 10 PIPS PROFIT OR Hold till call change
2) Excellent Capability to Catch Trends way before they start
3) Little Sensative, Hence False Calls MAy arrive, but Stop Loss is Very Tight AND Small.
4) Contains all - Call, Exits OR
5) Usual Stop Loss is Less than 7 pips, you Can exit early if you see previous Candle High/Low break. The Stratergy was designed for Safety

This is a Very Simple yet powerful Trading Stratergy
Developed for Cash/Currency Indian Market

The stratergy is to be used On intraday OR Carryforward. Depends On 15 Minutes OR 30 Minutes Charts.

Trading Tips:
Money MAnagement: Use Only 2 - 10% Of your trading Capital.
Try to Book 80% Of your profits within the FIRst 10 pips for good MoneyManagement.

In case Of any issues/Help needed you MAy Consult me On +91 9167446412 OR nileshnks@yahoo.com

Full Credits AND
Analysis / Programmed by : Nilesh K Shirke
India : Ghatkopar East - Mumbai
Thanks for Family Support AND Amibroker Software

Nothing is proven official without Mathemathic Testing:
Tested On NSECDS/MCX USDINR, JPYINR, GBPINR, EURINR with Paper Trading with the Following Stats
Win Streak is calculated considering 2 paisa brokerage.
AnyTrade Greater than 0.02 paisa is considered a Win.
Sometimes Stoploss also gives in Profit, that is included in Win count.

Maths Stastic Result
Max Continous Win Streak : 3
Max Continous Loosing Streak : 13
Max Loss Pips Counts : 12 pips (currency 0.12 paisa)
15 Minutes on USDINR / GBPINR / JPYINR Back Testing 4 Trades Per Day till Profit.
Average Loss Pips Counts : 7 pips (currency 0.07 paisa)
Average GrossProfit Pips in 3 months Back data Test : 68 Pips Per Day (Currency 0.60 Paisa)
Average GrossLoss Pips in 3 months Back data Test : 26 Pips Per Day (Currency 0.26 Paisa)
Average Net Position in 3 Months Back Data Test: Profit . 42 Pips per Day (Currency 0.42 Pips per Day)

On an Average Monthly trade can give a return of more than 10% returns with this stratergy, with proper money management.
Kindly invest only 2% of the capital. do NOT invest more than 10% of your Account even in Highest confident situation.

Example:
for an Account of 2 Lakh, have a Stoploss of 2000 - 5000 Rupees per trade. So accordingly trade with limited lot sizes which enable you to have 2000 - 8000 profit per trade/Day trade.

Good Luck !!

");

_SECTION_END();

No comments:

Post a Comment

Thanks