Jump to content

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

Recommended Posts

Posted

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?

Posted
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

×
×
  • Create New...