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
Thanks! Never thought of that. I still would like to know how I can see my cursor's current line number and character number within that line
When you click anywhere within the code, have a look at the bottom right hand corner of the editor and it will tell you where line you are on and where you are within that line.
When you click anywhere within the code, have a look at the bottom right hand corner of the editor and it will tell you where line you are on and where you are within that line.
Awesome, thanks!
Thanks! Never thought of that. I still would like to know how I can see my cursor's current line number and character number within that line
Duly noted, thanks!
S.O.S: Problem with Buy_STOP/Sell_STOP
Hello all,
I'd like to have a buystop and a sellstop taken at the same time. The buystop is always triggered, but the sellstop is only triggered for one second and disappeared leaving only the buystop. How do I correct that? Do I need to post some other parts of the code in order for you to help?
Thanks in advance for helping me.
Regards,
forexcel
Code:
if(position && lastsig!=1) {
co=CalculateCurrentOrders(Symbol()) ;
if (co==0) {
res = OpenStop(OP_BUYSTOP,LotsRisk(StopLo ss), High[shift]+OrderPipsDiff*Point, StopLoss, TakeProfit1);
res = OpenStop(OP_SELLSTOP,LotsRisk(StopL oss),Low[shift]-OrderPipsDiff*Point, StopLoss, TakeProfit2);
}
last=Time[0];
lastsig=1;
return;
Hello all,
I'd like to have a buystop and a sellstop taken at the same time. The buystop is always triggered, but the sellstop is only triggered for one second and disappeared leaving only the buystop. How do I correct that? Do I need to post some other parts of the code in order for you to help?
Thanks in advance for helping me.
Regards,
forexcel
Code:
if(position && lastsig!=1) {
co=CalculateCurrentOrders(Symbol()) ;
if (co==0) {
res = OpenStop(OP_BUYSTOP,LotsRisk(StopLo ss), High[shift]+OrderPipsDiff*Point, StopLoss, TakeProfit1);
res = OpenStop(OP_SELLSTOP,LotsRisk(StopL oss),Low[shift]-OrderPipsDiff*Point, StopLoss, TakeProfit2);
}
last=Time[0];
lastsig=1;
return;Thanks for your reply In10TION...
Can you code it for me, please?
Thanks
forexcel
You may use this script (attached) to place 2 pending orders.
You may use this script (attached) to place 2 pending orders.
yes, it is sending buy and sell pending orders almost together with 1 or 3 seconds interval (on demo). On real account may be more.