TMA_CG: EA to buy at support & sell at resistance

Post Reply
bazze

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

Post by bazze »

I only trade on a $5000 demoacc.
That's the amount of $$$ I maybe will use on a liveacc.
Last three trades went into losses,version C. :arrrg: ...But,I'm still in profit,$204.62 :smile:
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 »

Geges » Wed Jan 15, 2014 3:51 am wrote:Hi SpiderX,

Ok-10-4 on that...

I guess I didn't acknowledge the gremlin as I should...

A $ saved is a $ earned :P
Those with "normal" accounts ( where 1 lot = $100,000 ) should not have ANY problem with lot-sizing ( this applies to most brokers ==> Axi, GP, Pepper, FinFx, HotForex, etc )

Given the fore-going, it seems this is an issue affecting mini accounts.

If anyone helps has faced this (huge lotsize), please chime in and confirm whether you are on a mini account.

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 »

bazze » Wed Jan 15, 2014 3:10 pm wrote:I only trade on a $5000 demoacc.
That's the amount of $$$ I maybe will use on a liveacc.
Last three trades went into losses,version C. :arrrg: ...But,I'm still in profit,$204.62 :smile:

Last 3 trades should have should have been losses for *all* versions :)

Don't worry about it, ebbs and flows, patience is the name of the game.

Was the new a/c that opened the 50 lots also a $5k demo?

Just post me a screenshot of that 1 trade from the Trade History (if the other details I asked are a bother )

Cheers
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,

Last 2 trades lost 30 pips....Orange boxes.
Think EA was trying to long in a down trend
Have you considered only to trade in direction of trend ?

Cheers
You do not have the required permissions to view the files attached to this post.
"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
bazze

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

Post by bazze »

Sorry,dudest... I didn't see your questions before now :oops:
Here is the whole logfile(ver.C) for yesterday....As you see I have tested not only this EA,but I really hopes that you can use it anyway....Sorry again for the "delay" ;)
(Edit:Haven't uploaded such files before,that's the reason that I give you the whole file,I shall try to learn me how to copy/paste later :smile: ) Broker: Sensus...Acc.size:$5000...Leverage: 1:200
You do not have the required permissions to view the files attached to this post.
bazze

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

Post by bazze »

My account are shrinking,four losses in a row :arrrg: But,still on the bright side :lol: (ver.modB.)
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,

Was zooming out the chart to see the pattern in losing trades for TMACG...note the purple circles.
Then it occured..."there should be a streak of losing sell trades on 10 Jan if this had started earlier"...Yellow Circle.
So went to check your myfxbook.....and seems that this guess was correct.

Think TMACG will have a string of losing trades if price stagnates on one side of the band during a trend.

Cheers
You do not have the required permissions to view the files attached to this post.
"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 »

bazze » Wed Jan 15, 2014 3:46 pm wrote:Sorry,dudest... I didn't see your questions before now :oops:
Here is the whole logfile(ver.C) for yesterday....As you see I have tested not only this EA,but I really hopes that you can use it anyway....Sorry again for the "delay" ;)
(Edit:Haven't uploaded such files before,that's the reason that I give you the whole file,I shall try to learn me how to copy/paste later :smile: ) Broker: Sensus...Acc.size:$5000...Leverage: 1:200
OK, so I downloaded Sensus Empty4 and ran some tests against my AxiTrader Empty4.

AxiTrader:
# EURUSD chart: MODE_LOTSIZE returns 100,000 ==> OK ( 1 std lot = 100,000 units of base currency )
# XAUUSD chart: MODE_LOTSIZE returns 100 ==> OK ( 1 std lot of gold = 100 troy ounces )

Sensus:
# EURUSD chart: MODE_LOTSIZE returns: 100,000 (standard)
# XAUSUD chart: MODE_LOTSIZE returns: 1 (NOT standard)[ i.e, 1 lot here = 1 troy ounce (100 times less than a standard a/c) ]

==

Case: ( using code from CalculateLotSize ). Account balance: $5k

Code: Select all

double FreeMargin = AccountBalance(); // don't worry about FreeMargin being used to ref to A/c Bal
----------> Std account: $5k
----------> Mini account: $5k

Code: Select all

double TickValue = MarketInfo(Symbol(),MODE_TICKVALUE) ;
----------> Std account: $1 per tick ( tick = 0.01 of price quote = 1 point )
----------> Mini account: $0.01 per tick ( tick = 0.01 of price quote = 1 point )

Code: Select all

double LotStep = MarketInfo(Symbol(),MODE_LOTSTEP);
----------> Std account: 0.01 lots (1000 units)
----------> Mini account: 0.01 lots (1000 units)

Code: Select all

double SLPts = StopLossPips /PFactor;
----------> Std account: 3.0
----------> Mini account: 3.0

Code: Select all

   
SLPts /= Point;  //No idea why *= factor does not work here, but it doesn't
----------> Std account: 3 / 0.01 = 300
----------> Mini account: 3 / 0.01 = 300

Code: Select all

   
double Exposure = SLPts * TickValue; // Exposure based on 1 full lot
----------> Std account: 300 * 1 = 300
----------> Mini account: 300 * 0.01 = 3

Code: Select all

double AllowedExposure = (FreeMargin * Risk) / 100;
----------> Std account: ( $5000 * 3 ) / 100 = $150
----------> Mini account: ( $5000 * 3 ) / 100 = $150

Code: Select all

   
int TotalSteps = ((AllowedExposure / Exposure) / LotStep);
----------> Std account: (150 / 300) / 0.01 = 50
----------> Mini account: (150 / 3) / 0.01 = 5000

Code: Select all

double Lots = TotalSteps * LotStep;
----------> Std account: 50 * 0.01 = 0.5 lots
----------> Mini account: 5000 * 0.01 = 50 lots


Which adds up coz 1 standard lot = 100 Sensus lots
==> 100 * 0.5 std lots = 50 Sensus lots


++++++++++++++++


So all is well in LotSize land.

@Bazze: Your broker says you are trading "50 lots" but they are not "50 standard lots", they basically work out to 0.5 standard lots
[ I had other not so pleasant words for brokers such as Sensus that add complexity and confusion to a straight-forward spec, but that's for another day... ]

At the end of the day, we are all risking 3% of our accounts.

Conclusion: the lot sizing is working correctly (regardless or std or mini accounts)

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 »

SpiderX » Wed Jan 15, 2014 3:44 pm wrote:Hi dudest,

Last 2 trades lost 30 pips....Orange boxes.
Think EA was trying to long in a down trend
Have you considered only to trade in direction of trend ?

Cheers
Hey SpiderX!

I'm loving your questions and feedback!, this is what makes for great improvement.

Yes, I have considered trading in the direction of the trend.

And there's a price to pay:
--> added complexity: trend filter, etc
--> alot of missed trades ( right now price is down, but notice it's not getting to upper boundary ).

There's also a price to pay for taking ALL trades (as we are now), one of which is what we are seeing (streaks of losses). Truth is: EVERY method/system has losing streaks, which is why we're risking only a small % per trade.

But that said, I see what you mean and there's room for improvement :)

1) The LibCSS slope value is keeping us out of sudden rough movements, but not out of slow ones (like now)

2) I'm going through the loss trades (today's and earlier) to see what they had in common. As always, I'm looking for a simple solution (simple and elegant --> even better). Notice price at least gets to the area of the MIDDLE BAND. That's something to explore right there!

More in answer to your next post.

Cheers!
vadlapatis

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

Post by vadlapatis »

Hello Every 1

today trades with TMA_CG

LIVE
tma_cg.PNG

DEMO
You do not have the required permissions to view the files attached to this post.
Last edited by vadlapatis on Wed Jan 15, 2014 3:56 pm, edited 1 time in total.
Post Reply

Return to “Automated trading systems”