swordfish Posted February 3, 2012 Report Posted February 3, 2012 Will this simple code 'IsDemo()" added to any IF statement allow the EA to work with demo accounts only? For example, if(MacdCurrent>0 && MacdCurrent<SignalCurrent && MacdPrevious>SignalPrevious && IsDemo() && MacdCurrent>(MACDCloseLevel*Point)) { OrderClose(OrderTicket(),OrderLots(),Bid,3,Violet); // close position return(0); // exit Will the EA still show a Smiley Face on chart of a live account?
⭐ luxinterior Posted February 3, 2012 Report Posted February 3, 2012 and it will take any vaguely technical person about 3 seconds to remove. L
swordfish Posted February 3, 2012 Author Report Posted February 3, 2012 Yes, I know. Is there a more secure way? and it will take any vaguely technical person about 3 seconds to remove. L
iwjw Posted February 3, 2012 Report Posted February 3, 2012 Yes, I know. Is there a more secure way? If you don't use an expiration date in your demo version you can spare the demo restriction because there a good trade copiers even here on II. There was a free tool (ex4_protector) to protect .ex4 against the most common decompiler (224)...don't know whether it's still availlable and still protects latest metatrader version
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now