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
deVries,
Thank you for your help.
You were right. My broker has 5 digits, that is why I had a problem with SL and TP. Well When I tried to change it, here is what I get !
Well, I have two main problems
1 / We can see that only one pending order SELLSTOP appeared on the graph. So where is the BUYSTOP pending order?
2/ the most weird problem is that this SELLSTOP order appeared every seconds and not only once as I thought. Do I have to use a special function ?
deVries,
Thank you for your help.
You were right. My broker has 5 digits, that is why I had a problem with SL and TP. Well When I tried to change it, here is what I get !
Well, I have two main problems
1 / We can see that only one pending order SELLSTOP appeared on the graph. So where is the BUYSTOP pending order?
2/ the most weird problem is that this SELLSTOP order appeared every seconds and not only once as I thought. Do I have to use a special function ?
Like a wrote before maybe at time of placing buystop the price that moment was to close to the highest point of the 3 previous bars or maybe it was already higher that moment.... Also you see your coding is placing every tick a new trade How many do you want ????
Just one...if possible. one which will be updated and adjusted to the highest/lowest price in the last candlestick...
If possible, I would like to keep the same pending order if there is no new highest/lowest price in the last 3 candlesticks (bar?)
Well...maybe the best will be to update the pending order when a new candlestick appear. (all new tick,a new pending order is too much...)
do you think it is possible ?
Just one...if possible. one which will be updated and adjusted to the highest/lowest price in the last candlestick...
If possible, I would like to keep the same pending order if there is no new highest/lowest price in the last 3 candlesticks (bar?)
Well...maybe the best will be to update the pending order when a new candlestick appear. (all new tick,a new pending order is too much...)
do you think it is possible ?
ofcours count your open trades
if counted buystop (and buys maybe) is equal to zero you can place new buystop at first ticks newbar
don't forget counting down
select on symbol
select on magicnumber
select on ordertype