I have two of the same EAs running live on 2 different real accounts. One on a vps and one local.
The vps version was loaded without #property strict and the local one did.
The reason is that the code is not 100% perfect and I did not want the EA running or not running unexpectedly without being able to be right in front of it. I understand that the #property strict command will cause an ea to stop running if it doesn't like something like bad arrays and I can't afford to have the ea stop running without me knowing it since it runs without putting SL TPs on the broker's server in public view. It does have stops and tp exits but they are completely hidden and I don't want to put fake sl tp levels with the broker either.
In any case, at the start of the new 4hr bar, the local copy with property strict executed perfectly as intended but the vps copy w/o property strict just sat there, with no movement, no messages, no errors, nothing, like it wasn't even loaded but it was.
Come to think of it, yesterday the non property strict version fired off an unexpected trade that didn't show up locally either.
Can not using property strict alter the trade execution of an ea?
The vps version was loaded without #property strict and the local one did.
The reason is that the code is not 100% perfect and I did not want the EA running or not running unexpectedly without being able to be right in front of it. I understand that the #property strict command will cause an ea to stop running if it doesn't like something like bad arrays and I can't afford to have the ea stop running without me knowing it since it runs without putting SL TPs on the broker's server in public view. It does have stops and tp exits but they are completely hidden and I don't want to put fake sl tp levels with the broker either.
In any case, at the start of the new 4hr bar, the local copy with property strict executed perfectly as intended but the vps copy w/o property strict just sat there, with no movement, no messages, no errors, nothing, like it wasn't even loaded but it was.
Come to think of it, yesterday the non property strict version fired off an unexpected trade that didn't show up locally either.
Can not using property strict alter the trade execution of an ea?