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

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

resetting EA/Script 0 replies

Resetting MT4 EA Parameters through code 5 replies

Indicator Resetting 15 replies

resetting balance 2 replies

Resetting Market Watch to local Time 1 reply

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 4
Attachments: Resetting EA
Exit Attachments

Resetting EA

  • Post #1
  • Quote
  • First Post: Feb 6, 2017 10:11pm Feb 6, 2017 10:11pm
  •  Silicus
  • | Joined May 2010 | Status: Member | 93 Posts
I am not a programmer, so excuse my ignorance!

I have an EA that runs at a specific time for one cycle (one sell to profit/loss or one buy to profit/loss). That works fine.
Except the next day it will not run again. Never again. So it basically considers that 'one cycle' to be one cycle, ever.
It does not reset itself for the next cycle the next day.
If I install the EA on a 'fresh' mt4, the EA works great, again only for one day.

My question is: Where does the EA store the information that the one cycle has run? It does not show up in 'Global Variables' F3.
If I am able to delete that info that would be great.

EA attached for reference.

Thank you very much for any input in this regard!
Attached File
File Type: mq4 quantum_shaolin_v1_3_0_Modified_by_Cipan_v2.mq4   15 KB | 206 downloads
  • Post #2
  • Quote
  • Feb 7, 2017 2:02am Feb 7, 2017 2:02am
  •  Yanky2016
  • Joined Jan 2016 | Status: Member | 127 Posts
Did you read the thread?

http://www.forexfactory.com/showthread.php?t=552185
I have a Dream....
 
 
  • Post #3
  • Quote
  • Feb 7, 2017 2:36am Feb 7, 2017 2:36am
  •  Silicus
  • | Joined May 2010 | Status: Member | 93 Posts
Quoting Yanky2016
Disliked
Did you read the thread? http://www.forexfactory.com/showthread.php?t=552185
Ignored
Hi Yanky,

thanks for your reply!
This is the thread I followed back then and all different versions in this thread -and there are many- of the EA have the same issue. I tried all of them.
My suspicion is that mt4 code changed in the meantime, which causes the problem....
Backtesting works fine. Live/demo testing it stops working....
 
 
  • Post #4
  • Quote
  • Feb 7, 2017 4:08am Feb 7, 2017 4:08am
  •  Hairi
  • Joined Jul 2009 | Status: Member | 388 Posts
maybe this line
Attached Images (click to enlarge)
Click to Enlarge

Name: ooi.JPG
Size: 38 KB Click to Enlarge

Name: oui.JPG
Size: 28 KB
Attached Image
 
 
  • Post #5
  • Quote
  • Feb 7, 2017 4:11am Feb 7, 2017 4:11am
  •  forxprotrade
  • | Joined Jan 2017 | Status: Junior Member | 5 Posts
You can use this path C:\Program Files (x86)\MetaTrader 4 Terminal\MQL4\Files and find the exe or excel related to that EA. You can delete those files and your EA will run freshly again. Also, if you are running multiple EAs, the files in this path will be formed of all the EAs, in this case, you need to see for the data related to your this particular EA in those files and delete it.
 
 
  • Post #6
  • Quote
  • Feb 7, 2017 1:05pm Feb 7, 2017 1:05pm
  •  Silicus
  • | Joined May 2010 | Status: Member | 93 Posts
Hairi and forxprotrade,

thank you both very much for your insides!
Really appreciate your time!

Cheers!
 
 
  • Post #7
  • Quote
  • Last Post: Feb 9, 2017 6:51am Feb 9, 2017 6:51am
  •  UlliC
  • | Joined Feb 2016 | Status: Member | 364 Posts
Hey Silicus,
In my opinion it would be best if you contact the EA developer directly and report the issue. They will know how to fix it.
 
 
  • Platform Tech
  • /
  • Resetting EA
  • Reply to Thread
0 traders viewing now
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 / ©2022