I have problems to make a pending order + x pips to work.
The ordersend line works fine when it looks like the line below.
I know you cannot add/deduct 50 from price, so i have tried 50 * Point, but it doesn't work.
The code look like this now: (This line works)
The code i'm trying looks like this:
If you know how to fix this, please let me know (Have been using days to try to fix this)
The ordersend line works fine when it looks like the line below.
I know you cannot add/deduct 50 from price, so i have tried 50 * Point, but it doesn't work.
The code look like this now: (This line works)
Inserted Code
int ticket=OrderSend(Symbol(),OP_SELLSTOP,Lot,Bid,Slipp,loss,profit,NULL,0,0,CLR_NONE);
The code i'm trying looks like this:
Inserted Code
int Distance = 50; int ticket=OrderSend(Symbol(),OP_SELLSTOP,Lot,Bid+Distance*Point,Slipp,loss,profit,NULL,0,0,CLR_NONE);
If you know how to fix this, please let me know (Have been using days to try to fix this)
Blindly following others will make you blind!