TMA_CG: EA to buy at support & sell at resistance

Post Reply
dudest
Trader
Posts: 1847
Joined: Tue May 08, 2012 2:37 pm

Re: TMA_CG: EA to buy at support & sell at resistance

Post by dudest »

skoda2008 » Mon Jan 13, 2014 6:06 am wrote:Radar, you just beat me - I was typing exactly the same thing. Anyone would think we were on the PT3 payroll :P

Dudest, I have found a couple of bugs with the EA. There is a lack of magicnumber checking in some sections - the missing TP code, and also the Jumping Stop. I found this out when I put it on an account with another EA running. It wanted to add TP's to my other positions (lucky I tried it on manual confirmation first).
Hey skoda!, thanks for the feedback.

@WFA: tried the Darwin, needs some fixing. Will check out PT3 end of this week after backtester repair, thanks :)

@Bugs + lack of MagicNumber checking: well, that's coz I run each EA I'm testing on its own Demo, that's why I didn't put MagicNumber checking in each function. But you're right, it needs to be there to avoid messing up an account running other things. Good thing it tried to secure you money by setting TPs though :)!

Cheers!
dudest
Trader
Posts: 1847
Joined: Tue May 08, 2012 2:37 pm

Re: TMA_CG: EA to buy at support & sell at resistance

Post by dudest »

Radar » Mon Jan 13, 2014 6:09 am wrote:
skoda2008 » Mon Jan 13, 2014 1:36 pm wrote:Radar, you just beat me - I was typing exactly the same thing. Anyone would think we were on the PT3 payroll :P
Ssshhhh!!

;)
Totally on payroll! :)
User avatar
SpiderX
Trader
Posts: 554
Joined: Thu Aug 22, 2013 4:50 pm

Re: TMA_CG: EA to buy at support & sell at resistance

Post by SpiderX »

Hi dudest
Maybe it is wise to check if the stack trade price is too close to the target price.
for todays trade the stack trade price is too close to the target....fortunately it ended in a 5 pip win

Cheers
"Love is patient, love is kind. It does not envy, it does not boast, it is not proud. It does not dishonor others, it is not self-seeking, it is not easily angered, it keeps no record of wrongs.Love does not delight in evil but rejoices with the truth. It always protects, always trusts, always hopes, always perseveres."
-Corinthians 13:4-8
dudest
Trader
Posts: 1847
Joined: Tue May 08, 2012 2:37 pm

Re: TMA_CG: EA to buy at support & sell at resistance

Post by dudest »

Jemook » Mon Jan 13, 2014 7:00 am wrote:So let me get this straight, your looking for a range only and then playing the outer boundaries of the range. I like it! If the range turns into a trend it stops trading. V cool - hope it all works out!

Is TMA+CG any different to the other TMA band indicators?

Cheers,
JK
Hi Jem!

That's the general idea.

Actually, as long as a trend is moving in a wave-like fashion, it should still trade the outer boundaries.

It's only supposed to avoid trading when price is moving pretty fast in one direction [ e.g avoid taking sells when price is barrelling upwards ]

@TMA+CG -vs- other TMA indis: I have no idea, sorry

Thanks for the best wishes, appreciate :)

Cheers
Last edited by dudest on Mon Jan 13, 2014 10:08 am, edited 1 time in total.
User avatar
varso
Trader
Posts: 44
Joined: Mon Oct 22, 2012 7:19 am

Re: TMA_CG: EA to buy at support & sell at resistance

Post by varso »

The result on demo are very impressive. I hope its on good way to go live.
Thank you some much for share this EA. I will also try it.
dudest
Trader
Posts: 1847
Joined: Tue May 08, 2012 2:37 pm

Re: TMA_CG: EA to buy at support & sell at resistance

Post by dudest »

zentauro67 » Mon Jan 13, 2014 8:35 am wrote:Yes, it seems a good strategy only for ranging periods. It seems (if I´m not wrong) that the EA uses the slope of the band as a non trade filter (strong trend=no trade). We´ll see if it will work. In manual trading I´ve always had problems with the slope, as it repaints and it is always too late when it appears. My personal trick with TMA bands to know if price is trending or ranging is this: I add an Ichimoku (default settings) to the chart. If the cloud (kumo) is inside the band price is ranging, it the band leaves the kumo price is trending. Kumo is by far more reliable and easier to spot than the slope.

I have not found too much information about TMA+CG. It seems CG refers to Center of Gravity (another big repainter) and could be a mix.
Just to clarify:

This is a good strategy for when price is moving in waves ( i.e, not moving straight up or down ). This more often than not happens during ranging periods, but also applies to trends where price is undulating in one direction.

It's also a good thing (for this EA) that markets range more than they trend, so hopefully we can make something out of that.

The slope that I am using is the LibCSS slope, not the slope of the actual TMA+CG bands. The TMA+CG is purely for defining the outer boundaries (places where we can buy and sell). I'm aware of the repainting; I'm happy to say it doesn't pose a significant threat. ( That is actually partly why a <buffer no. of pips> is subtracted from TP, and why I'm using Ask price to detect upper and Bid price to detect lower ==> stacking odds in my favour ).

As with all EAs, the entry condition (bands) + slope filter are not foolproof, but they don't need to be :) I know some may be thinking this is too simple, needs a bit more <extra>, but often-times, simpler is better.

I just need it to be right slightly more times than its wrong, and to make more (on average) than it loses per sample size of trades. Then the rest will be taken care of by quantity of trades + time.

Cheers :)
Last edited by dudest on Mon Jan 13, 2014 10:13 am, edited 2 times in total.
User avatar
cad0811
Trader
Posts: 97
Joined: Sat Sep 08, 2012 1:09 pm

Re: TMA_CG: EA to buy at support & sell at resistance

Post by cad0811 »

dudest » Mon Jan 13, 2014 5:53 pm wrote:
Jemook » Mon Jan 13, 2014 7:00 am wrote:So let me get this straight, your looking for a range only and then playing the outer boundaries of the range. I like it! If the range turns into a trend it stops trading. V cool - hope it all works out!

Is TMA+CG any different to the other TMA band indicators?

Cheers,
JK
Hi Jem!

That's the general idea.

Actually, as long as the trend is moving in a wave-like fashion, it should still trade the outer boundaries.

It's only supposed to avoid trading when price is moving pretty fast in one direction [ e.g avoid taking sells when price is barrelling upwards ]

@TMA+CG -vs- other TMA indis: I have no idea, sorry

Thanks for the best wishes, appreciate :)

Cheers
Thank you for your sharing, thank you!I test the ea, monetary name XAUUSDm, didn't seem to work, thank you!
Thank you so much for all the people here!Thank you for your selfless!My growth cannot leave your work!Cheers!
jlcgarcia

Re: TMA_CG: EA to buy at support & sell at resistance

Post by jlcgarcia »

Hi dudest,

I am using in my live account a strategy very similar to yours. The difference is that my multipair EA do not open orders when it touches the S/R points, but it first must surpass the full S/R zone and return to the low/high zone of resistance/support to open a new trade.

Also, from my experience stacking is not very easy to implement and must be based on ATR (4H or more). It is only an opinion. :P

Regards


José Luis
dudest
Trader
Posts: 1847
Joined: Tue May 08, 2012 2:37 pm

Re: TMA_CG: EA to buy at support & sell at resistance

Post by dudest »

varso » Mon Jan 13, 2014 1:02 pm wrote:The result on demo are very impressive. I hope its on good way to go live.
Thank you some much for share this EA. I will also try it.
Thanks varso!,

I'm glad that you're trying it also. I plan to put it on a live a/c before the month is out

All the best!

Cheers
bazze

Re: TMA_CG: EA to buy at support & sell at resistance

Post by bazze »

Three trades closed so far...-$99,+$124.16 and +$18.56.That gives a total of +$36.93 on my $5000 demoacc.Changed the risk from 3 to 2,rest default...Looking good so far :clap:
Edit: New trade open,at the moment up $16...
Post Reply

Return to “Automated trading systems”