![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Vlad5624,
Thanks for your contribution. My strategy requires opening the first trade as the current candle touches bollinger band (upper or lower band). I just don't want to open another trade on the bar if stop loss is also hit on the bar. Can you please send the sample code?Butyouget the gistof my problem?Can you help me?
Butyouget the gistof my problem?Can you help me?
I don't understand you Vlad5624
funayot
A good stating point can be this thread : https://www.mql5.com/en/forum/173136Mladen, I have an idea, I'm thinking of using candle time custom indicator. Not sure how to go about it yet.
Mladen, I have an idea, I'm thinking of using candle time custom indicator. Not sure how to go about it yet.
funayot
Which indicator exactly and what would be the strict set of rules?
MladenI sentyou a private message)youwill take up thisidea?
funayot
Which indicator exactly and what would be the strict set of rules?candletime2016.mq4
I found this indicator somewhere on the internet. I do not know how to use it yet to solve the problem.
My new idea is: if( fabs(OrderOpenTime - StopLossTriggeredTime) < 60 mins) do not open new trade.
My problem now is how to deduct time data like numbers. I really need to stop my EA from opening another order on the same candle as the previous opened order.
MladenI sentyou a private message)youwill take up thisidea?
Any idea from you also will be appreciated.
Any idea from you also will be appreciated.
Вы умеете писать и переделывать индикаторы?
Вы умеете писать и переделывать индикаторы?
"You know how to write and customize indicators?"
Yes I do. I usually get help from Mladen once in a while.
Вы умеете писать и переделывать индикаторы?
без точной объяснения ...... кто понятия не имею ...... что делать ..... с вашими требованиями