Traderji.com


Trading with AMA and price action- forward testing

Discuss Trading with AMA and price action- forward testing at the Trading Diary within the Traderji.com; Hi, here I will forward test an intraday method using AMA and price action. Tf ...


Go Back   Traderji.com > METHODS & STRATEGIES > Trading Diary


Trading Diary Share and discuss your trading strategies here.


View Poll Results: A good trading method/system generates x % average return per month .
< 5% pm 5 15.15%
>5 and upto 10% pm 14 42.42%
10 to 20% pm 10 30.30%
Upto 50% pm 2 6.06%
Upto 100% pm 0 0%
Greater than 100% pm 2 6.06%
Voters: 33. You may not vote on this poll

Reply
 
Thread Tools
  #1  
Old 10th March 2016, 03:26 PM
vijkris's Avatar
Member
 
Join Date: Mar 2013
Location: hyderabad
Posts: 2,279
Thanks: 10,861
Thanked 4,147 Times in 1,727 Posts
vijkris has a reputation beyond repute
vijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond repute
Lightbulb Trading with AMA and price action- forward testing

Hi, here I will forward test an intraday method using AMA and price action.
Tf = 1min

Special thanks to Pratap sir and Happy_singh ji, for providing the relevant afls.

tools used = AMA bands 15 tf, Vwap.

for risk mgmt. pls refer - http://www.traderji.com/trading-diar...ml#post1131836

EDIT : pls do participate in the poll, as I would like to keep a realistic target for this system.


Advertisements


Last edited by vijkris; 11th March 2016 at 02:31 PM. Reason: poll
Reply With Quote
The Following 10 Users Say Thank You to vijkris For This Useful Post:
ankur07090 (9th April 2016), arsh22g (11th April 2016), hmp (10th April 2016), monkeybusiness (10th March 2016), niftytaurus (10th March 2016), novicetraders (15th March 2016), quickTrader (15th March 2016), Rehab (10th March 2016), rip07 (25th May 2016), server2712 (16th April 2016)
Advertisements
  #2  
Old 10th March 2016, 04:28 PM
Member
 
Join Date: Jan 2014
Posts: 197
Thanks: 446
Thanked 150 Times in 93 Posts
Rehab has a spectacular aura aboutRehab has a spectacular aura about
Default Re: Trading with AMA and price action- forward testing

Thanks for opening the most awaited thread Sirji.I started trading it just 10-15days b4,
so I voted >5 and upto 10% pm.
AMA and VWAP terms are still news for me.Only taking AMA breakouts.
Reply With Quote
The Following User Says Thank You to Rehab For This Useful Post:
vijkris (10th March 2016)
  #3  
Old 10th March 2016, 04:47 PM
vijkris's Avatar
Member
 
Join Date: Mar 2013
Location: hyderabad
Posts: 2,279
Thanks: 10,861
Thanked 4,147 Times in 1,727 Posts
vijkris has a reputation beyond repute
vijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond repute
Default Re: Trading with AMA and price action- forward testing

Quote:
Originally Posted by Rehab View Post
Thanks for opening the most awaited thread Sirji.I started trading it just 10-15days b4,
so I voted >5 and upto 10% pm.
AMA and VWAP terms are still news for me.Only taking AMA breakouts.
hi, we all r friends here, so pls don address me as "sirji". thanks.
I m also learning the vwap,ama,pivots,. hope this thread helps me in attaining deeper understanding of the above.
for me pivots is difficult to understand, so will use only mp..and trendlines

Last edited by vijkris; 10th March 2016 at 05:32 PM.
Reply With Quote
The Following 4 Users Say Thank You to vijkris For This Useful Post:
niftytraps (11th March 2016), quickTrader (15th March 2016), Rehab (10th March 2016), rip07 (25th May 2016)
  #4  
Old 10th March 2016, 10:08 PM
vijkris's Avatar
Member
 
Join Date: Mar 2013
Location: hyderabad
Posts: 2,279
Thanks: 10,861
Thanked 4,147 Times in 1,727 Posts
vijkris has a reputation beyond repute
vijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond repute
Smile Re: Trading with AMA and price action- forward testing

Objective of the system : Early entry in the trend, ride the trend, exit at any sign of trend exhaustion.

Rules of the system

1. 15 min ama bands will be used to determine the bias/direction.
2. Price trading above AMA = look for long entry.
3. Price trading below AMA = look for short entry.

4. Price trading inside 15 min ama bands will be considered as sideways .
5. Trading within bands is bit risky as the direction may change without giving proper signals.

Entry setup:-
Long - we will enter at end of decline and start of rally
Look for inverse palm of hand pattern, i.e look at any previous 5 candles. 1st two candles should be red and lower lows and lower highs is compulsory
3rd i.e middle candle must have lowest low out of all 5 candles. any color
4th and 5th candle must be green in color and higher lows and higher high is compulsory.
Enter on 6th bar, if 5th bar high is crossed.

Short - we will enter at end of rally and start of decline
Look for palm of hand pattern, i.e look at any previous 5 candles. 1st two candles should be green and higher lows and higher highs is compulsory
3rd i.e middle candle must have highest high out of all 5 candles.
4th and 5th candle must be red in color and lower highs and lower low is compulsory.
Enter on 6th bar, if 5th bar low is crossed.

Point to note : This 5 candle setup is future looking, ie after completion of 5th bar only the setup is complete.

Also point to be noted is that the 3rd bar will be minor pivot according to ema pivots.
Reply With Quote
The Following 6 Users Say Thank You to vijkris For This Useful Post:
monkeybusiness (10th March 2016), niftytaurus (11th March 2016), quickTrader (15th March 2016), Rehab (10th March 2016), rip07 (25th May 2016), suri112000 (25th May 2016)
  #5  
Old 10th March 2016, 10:48 PM
Member
 
Join Date: Jan 2014
Posts: 197
Thanks: 446
Thanked 150 Times in 93 Posts
Rehab has a spectacular aura aboutRehab has a spectacular aura about
Default Re: Trading with AMA and price action- forward testing

Pls upload few images Vijay Bhai.
Reply With Quote
The Following User Says Thank You to Rehab For This Useful Post:
vijkris (10th March 2016)
  #6  
Old 10th March 2016, 11:22 PM
vijkris's Avatar
Member
 
Join Date: Mar 2013
Location: hyderabad
Posts: 2,279
Thanks: 10,861
Thanked 4,147 Times in 1,727 Posts
vijkris has a reputation beyond repute
vijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond repute
Talking Re: Trading with AMA and price action- forward testing

b4 posting images would like to share afl which will be required to identify candles properly.
original code is in this link: http://www.traderji.com/amibroker/90...ml#post1128472

I modified the code little bit for this strategy.

Code:
_SECTION_BEGIN("Price");
SetChartBkColor(colorBlack);
SetChartOptions( 0,chartShowArrows+ chartShowDates |   chartWrapTitle );
GraphXSpace=5;
_N(Title = StrFormat("{{NAME}} {{DATE}} {{INTERVAL}}: O=%1.2f, H=%1.2f, L=%1.2f, C=%1.2f, V=%1.0f\n{{VALUES}}", O, H, L, C, V));

BaseHi[1]    = H[0];		
BaseLo[1]    = L[0];
IamInside[1] = C[1] < BaseHi[1] AND C[1] > BaseLo[1];

for (i = 2; i < BarCount; i++) 
{
	if (IamInside[i-1]) 
	{
		IamInside[i] = C[i] < BaseHi[i-1] AND C[i] > BaseLo[i-1];
		if (IamInside[i])
	 	{
			BaseHi[i] = BaseHi[i-1];
			BaseLo[i] = BaseLo[i-1];	
		}
		else
		{
			BaseHi[i] = H[i-1];
			BaseLo[i] = L[i-1];		
		}		
	}
	else
	{
		IamInside[i] = C[i] > L[i-1] AND C[i] < H[i-1];
		BaseHi[i] = H[i-1];
		BaseLo[i] = L[i-1];		
	}
}

SetBarFillColor(IIf(NOT IAMINSIDE AND C > O, ParamColor("OUTSIDE BAR UP",colorBrightGreen), IIf(NOT IAMINSIDE AND C<O,ParamColor("OUTSIDE BAR DOWN",colorRed),colorBlack))); 
BarColor = IIf(NOT IamInside,colorYellow,IIf(C < O, ParamColor("bardown",colorDarkRed), ParamColor("barup",colorDarkBlue)));
Plot(C, "Close", Barcolor, styleCandle | styleNoTitle);  
/*
Buy = IIf(iaminside,Cross(C,basehi[i-1]),Null);
PlotShapes(shapeUpArrow*Buy,colorGreen,0,L);


	

// Can comment out or delete the following 
//PlotShapes(IamInside*21,colorWhite,0,L,-10);
Reply With Quote
The Following 3 Users Say Thank You to vijkris For This Useful Post:
niftytaurus (11th March 2016), quickTrader (15th March 2016), Rehab (11th March 2016)
  #7  
Old 11th March 2016, 10:38 AM
Member
 
Join Date: Jan 2014
Posts: 197
Thanks: 446
Thanked 150 Times in 93 Posts
Rehab has a spectacular aura aboutRehab has a spectacular aura about
Default Re: Trading with AMA and price action- forward testing

I applied this AFL and all my setting got changed.The BG changed to black.I removed the AFL and re-arranged all scrips as per my comfort.But the prob now is,if I open new default chart uspe yeh AFL ki settings dikh rahi hai,though I removed the AFL :O how to solve this Vijay Bhai?
Reply With Quote
  #8  
Old 11th March 2016, 11:01 AM
vijkris's Avatar
Member
 
Join Date: Mar 2013
Location: hyderabad
Posts: 2,279
Thanks: 10,861
Thanked 4,147 Times in 1,727 Posts
vijkris has a reputation beyond repute
vijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond repute
Default Re: Trading with AMA and price action- forward testing

Quote:
Originally Posted by Rehab View Post
I applied this AFL and all my setting got changed.The BG changed to black.I removed the AFL and re-arranged all scrips as per my comfort.But the prob now is,if I open new default chart uspe yeh AFL ki settings dikh rahi hai,though I removed the AFL :O how to solve this Vijay Bhai?
any new afl should be applied in new sheet/blank sheet. if any prrob only that sheet is affected.
yes the color combination is created for black background. it will be visible better.
also din understand wat is rearrangement of all scrips ?
pls post pics using imgur and bbcode.
Reply With Quote
  #9  
Old 11th March 2016, 11:09 AM
Member
 
Join Date: Jan 2014
Posts: 197
Thanks: 446
Thanked 150 Times in 93 Posts
Rehab has a spectacular aura aboutRehab has a spectacular aura about
Default Re: Trading with AMA and price action- forward testing

Quote:
Originally Posted by vijkris View Post
any new afl should be applied in new sheet/blank sheet. if any prrob only that sheet is affected.
yes the color combination is created for black background. it will be visible better.
also din understand wat is rearrangement of all scrips ?
pls post pics using imgur and bbcode.


I removed ur AFL..now there is no existance of the AFL in the lappy...I took a fresh plain price chart and applied AMA+VWAP etc.
Now,If I want to check whats happening in say Tatasteel,I added a scrip in NOW,backfilled it.But amibroker me Tatasteel pe upar jaisa hi dikh raha hai..how to solve this?

code/afl delete karne ke baad bhi amibroker me agar new default chart open karo to uspe aapki AFL apply ho jaa rahi hai.
Reply With Quote
  #10  
Old 11th March 2016, 11:27 AM
vijkris's Avatar
Member
 
Join Date: Mar 2013
Location: hyderabad
Posts: 2,279
Thanks: 10,861
Thanked 4,147 Times in 1,727 Posts
vijkris has a reputation beyond repute
vijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond reputevijkris has a reputation beyond repute
Default Re: Trading with AMA and price action- forward testing

Quote:
Originally Posted by Rehab View Post


I removed ur AFL..now there is no existance of the AFL in the lappy...I took a fresh plain price chart and applied AMA+VWAP etc.
Now,If I want to check whats happening in say Tatasteel,I added a scrip in NOW,backfilled it.But amibroker me Tatasteel pe upar jaisa hi dikh raha hai..how to solve this?

code/afl delete karne ke baad bhi amibroker me agar new default chart open karo to uspe aapki AFL apply ho jaa rahi hai.
wat u r seeing is vwap and ama afl only. according to pic the afl is looking normal. u can change colors using parameters.
u must have dragged the my afl on the existing vwap afl.
open a blank chart and try to drag vwap afl.
my afls r complex, so always drag it in new and blank pane.

right click-templates-load default. and see.
even if u delete my afl from pc, since u inserted it before, it stays in drag and drop folder.

if the above doesn work, click file-open a blank chart- don't drag but right click on vwap from charts menu and use insert linked.

Advertisements

Reply With Quote
The Following 3 Users Say Thank You to vijkris For This Useful Post:
niftytaurus (11th March 2016), quickTrader (15th March 2016), Rehab (11th March 2016)
Reply

Bookmarks


Advertise Here


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads for: Trading with AMA and price action- forward testing
Thread Thread Starter Forum Replies Last Post
price action trading saakk Trading Diary 686 23rd February 2014 12:14 AM
Reasons for failure of Algo from backtesting to forward testing nifty.trader.game Algo & Automated Trading 13 11th February 2014 08:27 PM
AFL for Price Action Trading COJ AmiBroker 14 18th December 2013 12:51 PM
Nifty Trading on price action kumaram Advanced Trading Strategies 7 12th April 2010 10:52 PM
Walk Forward Testing in Amibroker patadesunil AmiBroker 6 26th November 2009 09:52 AM


All times are GMT +5.5. The time now is 12:19 PM.

Indemnity, Disclaimer & Disclosure Notice:
By visiting Traderji.com you automatically indicate that you agree to our Forum Rules, Indemnity, Disclaimer & Disclosure Notice and General Content Disclaimer Notice and indemnify Traderji.com, its associates and related parties of all claims howsoever resulting from the usage of the forum/site.
Disclaimer: Trading or investing in stocks & commodities is a high risk activity. Any action you choose to take in the markets is totally your own responsibility. You are recommended to make appropriate enquiries and seek appropriate advise before sending money, incurring any expenses, acting on recommendations or entering into any commitment in relation to any advertisement published here. Traderji.com does not vouch for any claims made by the advertisers of products and services. Traderji.com will not be held liable for any consequences in the event such claims are not honoured by the advertisers. Traderji.com will not be liable for any, direct or indirect, consequential or incidental damages or loss arising out of the use of any information by anybody mentioned anywhere on this site.
Disclosure: The information in this forum is neither an offer to sell nor solicitation to buy any of the securities mentioned herein. The writers may or may not be trading in the securities mentioned.
All names or products mentioned are trademarks or registered trademarks of their respective owners.
General Content Disclaimer Notice:
In light of our policy of encouraging candid, open exchanges of views and the rapid distribution of information originating from many sources, Traderji.com cannot determine the accuracy or legality of any information that may be uploaded to the forum. Opinions, advice and all other information expressed by participants in discussions are those of the author. You rely on such information at your own risk. You are urged to seek professional advice for specific, individual situations and not rely solely on advice or opinions given in the discussions. Since Traderji.com is an open and free discussion forum, any comments made by members of this forum in their posts reflect their own views and not of the owner or administrator of Traderji.com. Thus the owner/administrator indemnify themselves of all claims whatsoever and will not be liable or responsible for any members comments/views in this forum Traderji.com. Although we constantly delete all irrelevant content and/or SPAM, if you should find any objectionable or offensive posts made by members of this forum which you would like to bring to our notice for removal then please Contact Us.
 


Copyright © www.Traderji.com 2001 - , All rights reserved.

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