Attachments forums

List of attachments posted on this forum.


All files on forums: 135712

Re: EA "demo" works but problem with "real"

uradello, Fri Dec 08, 2023 2:10 am

ionone wrote: Fri Jun 02, 2023 6:22 pm it's a martingale

I could help you but it would not help you in the end

you shoulw focus on EAs without lot increase or you will lose all your money
just sayin
Jeff
Sorry Ionone,
unfortunately after many months of work, my friend was unable to solve the problem that arose again.
I will briefly explain how the EA works: every time the cross up occurs between the SMA 3 and the SMA 15, the EA buys 0.01 and puts a TAKE PROFIT at 10 pips from the purchase price.
if it goes down by 5 pips he buys 0.01 and puts a TAKE PROFIT at 10 pips from the average load price.
If it drops another 5 pips, it buys 0.02 and puts a TAKE PROFIT always at 10 pips from the average load price.
this procedure occurs for a total of 6 entries and therefore in the end I will have 0.32 lots.
When the EA runs on the demo account it is perfect, when it runs on the real account, it does not set the TAKE PROFIT correctly, for example it does not read the price of the third entry

the account was opened at FP Markets and is a hedging account.
obviously the intersection of the averages and the number of pips is fake... I'm interested in whether the EA makes the 6 entries correctly and above all that it puts the right take profit.
thank's in advance

another thing: how do you run the tester in real time?

I wrote this in CODING HELP session but I think that it is better write here
All files in topic