You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
It seems when you execute some scripts, a pop-up window opens, allowing you to change the Properties.
Other scripts execute immediately without the pop-up window.
I have a simple script that does NOT open the properties window.
What can I change to get the window to open? Thanks.
//+------------------------------------------------------------------+
//| PlaceBuyStop.mq4 |
//| |
//+------------------------------------------------------------------+
#property copyright "Copyright NoneAtTheMoment."
extern double LOTS = 0.10;
int start()
{
int rc;
rc = OrderSend(Symbol(),OP_BUYSTOP,LOTS,Ask+(10*Point),3,0,0,"Buy Placed",13579,0,CLR_NONE);
if (rc < 0) Print("OrderSend RC=",rc," ",GetLastError());
return;
}