Buy Script *Help Needed Please*

 
Hi

Looking for a basic script that will once dragged and dropped
will place a buy order with your set Stop Loss. (SL can be editable in the mql file

If anyone could help me or point me in the right direction that would be great,
thanks all

Happy Trading
 
reg1984:
Hi

Looking for a basic script that will once dragged and dropped
will place a buy order with your set Stop Loss. (SL can be editable in the mql file

If anyone could help me or point me in the right direction that would be great,
thanks all

Happy Trading

Must have been the simplest bit of code ive ever seen, but all good


int start()
{

OrderSend(Symbol(),OP_BUY,1,Ask,3,Ask-60*Point,Ask+300*Point,"Buy order",16384,0,Blue);
}

Reason: