Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
I am away from my home computer, so I can't code right now. But I wanted to get caught up on the latest posts. I'll spend a little time here now to address some of your posts.
Yes Wolfe, I change the computer (pc) (in the same network), every 12 hours, please explain why this is wrong? I run pipmaker EA without any single problem continiously (in the middle of a cycle) after changing pc's, for about four months now. If the magic number and settings are same, please explain your view on this.
Update: Yes wolfe, You are right, I should never changeover the trade cycle to another pc, that is bad I realise, because of the stored global variables I suppose, sorry for the annoyance , so that issue is being solved as well. Thanks.
I'm sorry that the EA does not perform the same as others with you're unique situation. I think it's because of the stored globals, each PC that you have metatrader on stores the globals to that specific metatrader program. I think that what's happening is when you log on from another PC, it cannot access the globals from the other computer's metatrader program, then you experience CHAOS.
One way around this would be to set up a VPS. Then you could access from anywhere, wouldn't matter if the computer you were using at the time had metatrader on it or not.
The reason I used stored global variables was that there is SO MUCH going on in this program, and a lot to keep track of. Some variables are time sensitive, and cannot simply be called through an orderselect() command at the beginning of the start() function. An example of this would be in the use of the TS. How would I get the highest achieved total profit of a cycle if it wasn't stored as a global variable? You have to store this information WHEN it happens, and it has to be a global variable, so you can access it later if there is a service interruption with your computer. If you simply define a variable, and assign it's value, when you have a service interruption, the value will be lost when you regain service. Global variables are retained within metatrader for a period of 3 weeks, before they reset to 0.
This is my reasoning for using the global variables. Maybe there is a better way, but I'm not aware of it.
We are all a team here, and this project would not be as far as it is without everyone's involvement. I thank you all.
ES, you gave me something to look at, something I overlooked. Sometimes, especially if we have a large basket opened, some of the orders will occur swap payments, OR charges. This will need to be accounted for when calculating the OPBM(Orders Profit By Magic). I'll look into this.
Quote:
Originally Posted by ElectricSavant
Folks,
where have you ever seen a coder with an attitude like this...? I mean yeah there area lot of good people here and all that....but we have a coder at our disposal...we are hundreds of readers and I know a lot of us are holding back as wolfe could get overwhelmed with upgrades...
but really wolfe is giving his "all" to this...and this thread has been filled with thoughtful posts carefully considering wolfes time...
Ok so I do not get an exact exit tonight with the WFM when I should have...but I am not bothering wolfe with that just now...I think the value includes the swap or something like that anyways...
The point here is that wolfe communicates with us everynight...non-stop...we are getting spoiled...at least I am anyway's...
ES
P.S. I enjoy my tfx nights...it grows on you...and if you have not noticed I love to write about my passion....non-stop hehe I get so much joy from this and I just can't imagine making money at the same time someday
Thanks wolfe. Now I have a clear idea about this, this EA is so much unique as you say, it has so much to keep calculating. So, there is no more faults with ordersending and handling, we are very near to perfect, only if any new tiny tweaks suggested. Thanks, I will try to post a trade report soon,
Quote:
Originally Posted by wolfe
I'm sorry that the EA does not perform the same as others with you're unique situation. I think it's because of the stored globals, each PC that you have metatrader on stores the globals to that specific metatrader program. I think that what's happening is when you log on from another PC, it cannot access the globals from the other computer's metatrader program, then you experience CHAOS.
One way around this would be to set up a VPS. Then you could access from anywhere, wouldn't matter if the computer you were using at the time had metatrader on it or not.
The reason I used stored global variables was that there is SO MUCH going on in this program, and a lot to keep track of. Some variables are time sensitive, and cannot simply be called through an orderselect() command at the beginning of the start() function. An example of this would be in the use of the TS. How would I get the highest achieved total profit of a cycle if it wasn't stored as a global variable? You have to store this information WHEN it happens, and it has to be a global variable, so you can access it later if there is a service interruption with your computer. If you simply define a variable, and assign it's value, when you have a service interruption, the value will be lost when you regain service. Global variables are retained within metatrader for a period of 3 weeks, before they reset to 0.
This is my reasoning for using the global variables. Maybe there is a better way, but I'm not aware of it.
Thanks wolfe. Now I have a clear idea about this, this EA is so much unique as you say, it has so much to keep calculating. So, there is no more faults with ordersending and handling, we are very near to perfect, only if any new tiny tweaks suggested. Thanks, I will try to post a trade report soon,
You made me smile. An EA of this magnitude is something new for me to try and create. I like to hear when problems are solved.
maybe the Vendors...dealers...and such depend on this...no?
scuse me' I am being negative and we do not want that...
ES
I hear you, it's hard to not be negative when you hear of all the games brokers employ to screw you. It's just not quite good enough for them to collect an honest spread, they have to screw people out of their whole account as well. You'de think some of them would wise up, and realize that being an honest broker would do them better in the long run. Better for them, and better for forex in general.