• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 1:16am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 1:16am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Help to debug my EA 2 replies

Developer Needed To Debug my EA 2 replies

MT4 EA coder required to fine-tune/debug existing EA 0 replies

Debug code in strategy tester 1 reply

debug message MT4 EA in Strategy Test 7 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 294
Attachments: Help Needed to Debug Existing EA with proven strategy
Exit Attachments
Tags: Help Needed to Debug Existing EA with proven strategy
Cancel

Help Needed to Debug Existing EA with proven strategy

  • Last Post
  •  
  • 1 2627Page 282930 38
  • 1 27Page 2829 38
  •  
  • Post #541
  • Quote
  • Edited 2:43am Apr 25, 2018 2:32am | Edited 2:43am
  •  albert666
  • | Joined Jul 2010 | Status: Member | 55 Posts
Hello ,

I have the same bug like Hanover, Atc Brokers, windows 10.

I use the same set as everybody, stop at 10,000, no stoch filter and range 10. And i have only the HYBRID MODE active, and buyer and seller set to false, not like Hanover.
Attached Image (click to enlarge)
Click to Enlarge

Name: Screen Shot 04-24-18 at 09.39 PM 001.JPG
Size: 1.0 MB
 
 
  • Post #542
  • Quote
  • Apr 25, 2018 2:37am Apr 25, 2018 2:37am
  •  xsuperfiendx
  • | Joined Apr 2018 | Status: Member | 7 Posts
Also, would a floating take profit make sense vs a dollar tp? I believe a floating tp would be best as it'll close all trades sells and buys as soon as the desired % profit is reached.
 
 
  • Post #543
  • Quote
  • Apr 25, 2018 4:20am Apr 25, 2018 4:20am
  •  AngieT
  • | Joined Apr 2018 | Status: Member | 103 Posts
Quoting hanover
Disliked
{quote} Last night I downloaded v 3.2 from post #449, and attached the EA to a GBPJPY,M15 chart with the settings displayed below (note: being too lazy to figure out what all of the settings are for, I simply used the same settings as in SwingMan's Strategy Tester report in post #466). As price fell the EA placed 3 sell orders at approx 10 pip intervals, and then as price reversed back upward to the middle of those 3 orders, it suddenly placed 59 buy orders at approx the same price within approx 15 seconds. At which point I immediately switched...
Ignored

Yes it is a bug I am guessing you closed the metatrader then reopened with trades still active
when you open metatrader again it posts heaps of trades
just opinion
 
 
  • Post #544
  • Quote
  • Edited 8:38am Apr 25, 2018 4:46am | Edited 8:38am
  •  SwingMan
  • Joined Aug 2007 | Status: Member | 2,526 Posts
New 3.3-Rocket Version

Thanks to @hanover and @albert

It was actually a programming corpse in the Code, because on the weekend when I'm developing I sometimes use OnTimer() and not always OnTick(). You can see that for example in the chart of @albert.
For this reason, false trades were started, and I have not tested with live prices.

In the Version 3.3 I made some changes and found a bug.

For MoneyManagement you can chose percents from AccountEquity or AccountBalance to calculate the lots, and I think that with Equity is better.
I post also my last .set file

Please continue to report any Errors.

I delete the old 3.2-Rocket (wrong) versions.
Attached File(s)
File Type: ex4 smForexRM EA_v3.3-Rocket.ex4   54 KB | 343 downloads
File Type: zip GBPJPY-M15_v33-Rocket.zip   < 1 KB | 345 downloads
 
4
  • Post #545
  • Quote
  • Apr 25, 2018 5:08am Apr 25, 2018 5:08am
  •  kasrafx
  • | Joined Aug 2014 | Status: Member | 481 Posts
Hi Swingman and Philiplee , Thanks for your hard work and sharing the idea and the EA .
@ Swingman , I started testing the sm EA version 3.2 from yesterday and today I decided to change the trend depth and after that, the EA started to put orders continuously as you can see in the screenshot and blowed up my demo account. hope you can rectify that.

Attached Image (click to enlarge)
Click to Enlarge

Name: 2018-04-25_0838.png
Size: 73 KB
 
 
  • Post #546
  • Quote
  • Apr 25, 2018 5:09am Apr 25, 2018 5:09am
  •  albert666
  • | Joined Jul 2010 | Status: Member | 55 Posts
Thank you SwingMan for the update !


Also, i begin to think to something in terms of money management.

For your next update, can you please add something like this : with this type of ea, we can get stuck a long time, so add a setting to fix the amount of balance the ea use.

Like this the ea will use let's say for exemple : 10 000 $, and all the profits generated are not use, so we can withdraw more easily.

Of course, add a setting for disable this for compounders


Thanks for all your work !
 
 
  • Post #547
  • Quote
  • Apr 25, 2018 5:30am Apr 25, 2018 5:30am
  •  SwingMan
  • Joined Aug 2007 | Status: Member | 2,526 Posts
Quoting albert666
Disliked
Thank you SwingMan for the update ! Also, i begin to think to something in terms of money management. For your next update, can you please add something like this : with this type of ea, we can get stuck a long time, so add a setting to fix the amount of balance the ea use. Like this the ea will use let's say for exemple : 10 000 $, and all the profits generated are not use, so we can withdraw more easily. Of course, add a setting for disable this for compounders Thanks for all your work !
Ignored
Is OK.
But is not it the same with the use of FixLots?
I e.g., with my $ 10,000 on the account, calculate that 0.01% equals 1 lot, and trade all the time like that.
 
 
  • Post #548
  • Quote
  • Apr 25, 2018 5:36am Apr 25, 2018 5:36am
  •  nihilist23uk
  • | Joined Sep 2015 | Status: Member | 563 Posts
SWINGMAN.
Thank you for your excellent work.

Could you check time filter,it does not seem to be working. EA taking new legs outside of time filter. version 3.3 rocket
Thank you.
 
 
  • Post #549
  • Quote
  • Apr 25, 2018 5:36am Apr 25, 2018 5:36am
  •  albert666
  • | Joined Jul 2010 | Status: Member | 55 Posts
Quoting SwingMan
Disliked
{quote} Is OK. But is not it the same with the use of FixLots? I e.g., with my $ 10,000 on the account, calculate that 0.01% equals 1 lot, and trade all the time like that.
Ignored

Ah, yes it's the same that FixLots, sorry boss, sometimes i'm so stupid
 
 
  • Post #550
  • Quote
  • Apr 25, 2018 5:58am Apr 25, 2018 5:58am
  •  vgyuszko
  • Joined Oct 2013 | Status: Member | 659 Posts
Quoting SwingMan
Disliked
New 3.3-Rocket Version Thanks to @hanover and @albert It was actually a programming corpse in the Code, because on the weekend when I'm developing I sometimes use OnTimer() and not always OnTick(). You can see that for example in the chart of @albert. For this reason, false trades were started, and I have not tested with live prices. In the Version 3.3 I made some changes and found a bug. For MoneyManagement you can chose percents from AccountEquity or AccountBalance, and I think that with Equity is better. I post also...
Ignored
Dear SwingMan!
Thank you the update!
I tested new EA with fix lot
THX
Find it The Best Entry Points
 
 
  • Post #551
  • Quote
  • Apr 25, 2018 6:10am Apr 25, 2018 6:10am
  •  manuel
  • | Additional Username | Joined Apr 2010 | 44 Posts
Quoting SwingMan
Disliked
New 3.3-Rocket Version ... For MoneyManagement you can chose percents from AccountEquity or AccountBalance, and I think that with Equity is better.
Ignored
Risk (not risc) is not calculated right, IMHO.
I.e if=0.01 (from equity of 100k) it opens 1 lot per trade, that is 10$ per pip aprx.
That means if price goes 100 pips against the trade direction we have a floating loss of 1000$ which is 1% of the equity but trade is not closed. (SL=200 or 300)

Also, if broker allows leverage of 1:100 you may open 100 parallel trades, and sometimes it's not enough.
 
 
  • Post #552
  • Quote
  • Apr 25, 2018 6:50am Apr 25, 2018 6:50am
  •  SwingMan
  • Joined Aug 2007 | Status: Member | 2,526 Posts
Quoting manuel
Disliked
... Risk (not risc) is not calculated right, IMHO. I.e if=0.01 (from equity of 100k) it opens 1 lot per trade, that is 10$ per pip aprx. That means if price goes 100 pips against the trade direction we have a floating loss of 1000$ which is 1% of the equity but trade is not closed. (SL=200 or 300) Also, if broker allows leverage of 1:100 you may open 100 parallel trades, and sometimes it's not enough.
Ignored
Sure are you right! I used this formula for the first time, because Philip dont need StopLoss (!?).
My goal was only to have bigger lots if the equity gets bigger, and to test the profit chain.
Everything else can be discussed with Philip.
 
 
  • Post #553
  • Quote
  • Apr 25, 2018 7:57am Apr 25, 2018 7:57am
  •  manuel
  • | Additional Username | Joined Apr 2010 | 44 Posts
May I ask why TP&SL for Buyer are not the same as for Seller?
 
 
  • Post #554
  • Quote
  • Apr 25, 2018 8:36am Apr 25, 2018 8:36am
  •  SwingMan
  • Joined Aug 2007 | Status: Member | 2,526 Posts
Quoting manuel
Disliked
May I ask why TP&SL for Buyer are not the same as for Seller?
Ignored
I do not know it.
Presumably, the explanation is the law of equilibrium from the phisic: a bullet rolls down faster than up ...
 
 
  • Post #555
  • Quote
  • Edited 11:45am Apr 25, 2018 11:33am | Edited 11:45am
  •  detector
  • Joined Dec 2017 | Status: Member | 3,710 Posts
Swing man, excellent work and thanks you for the valid efforts, I stopped the EA today for fear of previous concerns about multiple orders opening, I too had a similar experience going from 7 buy positions to 20 within seconds, in the latest version, was this a bug, currently running v3.2, thanks again, D.
EDIT
downloaded 3.3 Rocket and running live on GJ, D
I don't need to be good at the game, only good enough to beat my opponent,
 
 
  • Post #556
  • Quote
  • Apr 25, 2018 11:47am Apr 25, 2018 11:47am
  •  SwingMan
  • Joined Aug 2007 | Status: Member | 2,526 Posts
Quoting detector
Disliked
... I stopped the EA today for fear of previous concerns about multiple orders opening, I too had a similar experience going from 7 buy positions to 20 within seconds, in the latest version, has this been corrected, currently running v3.2, thanks again, D.
Ignored
I can test live only in 2-3 hours, but the last version with corrections is 3.3.
At present, only she is valid ...
(OK, you have edited!)
 
1
  • Post #557
  • Quote
  • Apr 25, 2018 11:50am Apr 25, 2018 11:50am
  •  detector
  • Joined Dec 2017 | Status: Member | 3,710 Posts
Quoting SwingMan
Disliked
{quote} I can test live only in 2-3 hours, but the last version with corrections is 3.3. At present, only she is valid ... (OK, you have edited!)
Ignored
You are TOP MAN, thank you, will post results, D
I don't need to be good at the game, only good enough to beat my opponent,
 
 
  • Post #558
  • Quote
  • Apr 25, 2018 12:09pm Apr 25, 2018 12:09pm
  •  Bullilulli
  • | Joined Jul 2015 | Status: Member | 83 Posts
Quoting SwingMan
Disliked
{quote} Is OK. But is not it the same with the use of FixLots? I e.g., with my $ 10,000 on the account, calculate that 0.01% equals 1 lot, and trade all the time like that.
Ignored
Hi all,
first of all I would like to thank all people here for the work and efforts on this idea.
After lurking and reading here for some time I would like to write down a thought.

Regarding MoneyManagement. Maybe I am thinking in the wrong direction, but as far as I have seen it is possible
to calculate the risk depending on the account balance/equity. TP, on the other side, is, if I understood right, a fixed
money value. Is that right?

Perhaps I am wrong, but in my opinion, TP should increase if the traded lotsize is growing.
For example, I trade 0.1 lots and TP is 20, one time my account (hopefully) doubles.
In this case I trade 0.2 lots, but TP is 20 like before. Should we change this?

Let me know if I did not see something....
Cheers
 
1
  • Post #559
  • Quote
  • Apr 25, 2018 1:03pm Apr 25, 2018 1:03pm
  •  detector
  • Joined Dec 2017 | Status: Member | 3,710 Posts
Just to confirm, the Take Profit is set in money value, not pips, points, etc.. so the cumulative value is the target, if a take profit is at 200 then there will be quite a journey with many trades open to gain 200 $£ unless the lot size resembles an appropriate level, unless you are very luck and a strong linear movement occurs, in a previous test, Phillip states a $5 test, so TP set at 5, unless something has changed, D
Attached Image (click to enlarge)
Click to Enlarge

Name: TDI.png
Size: 34 KB
I don't need to be good at the game, only good enough to beat my opponent,
 
 
  • Post #560
  • Quote
  • Apr 25, 2018 1:49pm Apr 25, 2018 1:49pm
  •  densol
  • | Joined Jan 2013 | Status: Member | 52 Posts
Quoting albert666
Disliked
Hello , I have the same bug like Hanover, Atc Brokers, windows 10. I use the same set as everybody, stop at 10,000, no stoch filter and range 10. And i have only the HYBRID MODE active, and buyer and seller set to false, not like Hanover. {image}
Ignored
Attached Image (click to enlarge)
Click to Enlarge

Name: Screenshot1.png
Size: 16 KB


2017
your settings
no compound
gbp/cad

looks like we need at least 10k
 
 
  • Platform Tech
  • /
  • Help Needed to Debug Existing EA with proven strategy
  • Reply to Thread
    • 1 2627Page 282930 38
    • 1 27Page 2829 38
0 traders viewing now
  • More
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023