@Byens ok. thanks, I just tried, but still not working properly.
so my short term solution, I changed this by using "condition" instead of "checking distance".
Thanks everyone!
@Byens ok. thanks, I just tried, but still not working properly.
so my short term solution, I changed this by using "condition" instead of "checking distance".
Thanks everyone!
Hi guys,
I have a question on how to use spread block condition.
which one below would be the best (see the right operand)?

is the pips as value necessary?

or by defining the value numeric, it is already obvious?
Thanks in advance!
@l-andorrĂ thank you!
I'll try this one next week. i'll let you know how it goes.
@ambrogio yes, I am using the function inside buy and sell block, thats actually my problem.
I have similar idea with what you mentioned, I ll try that one.
Thank you both!
have a great weekend
Hi all,
I need some helps.
Problem: My EA is calculating order volume size based on risk percentage. So far so good, however sometimes the calculation is resulting to smaller than 0.01 (the metatrader standard minimum), then broker round it up to 0.01.
For example: For US30, the EA calculated that the volume should be 0.003, because it isn't possible, the broker round it up to 0.01.
Request: Is there any function that can identify the volume size, so if the volume size is smaller than 0.01, I better not taking the order at all instead just round it up.
Any helps would be appreciated!
Thanks!
Hi guys,
Somehow my EA acting weird. It takes pending order with exceeding numbers of the percentage setting. (See attached screenshot, yellow mark) It took 100 lots, even though I set the limit percentage of balance. Most of the time EA takes proper order limit. (see also screenshot) So, this incident happened very rare. Maybe in 2 months, it happens twice already.
Any idea why this happened and also any idea how to prevent this. even though fortunately I realized this mistake and delete the order immediately, but I don't want this incident happen again especially if I am not aware.

@roar ok. Thanks, ! will try to do that.
Hi guys,
any idea how to calculate the average of technical indicators for example RSI in the last 10 bars?
Thanks in advance! 
@l-andorrĂ
So here is an example I have a particular setting where open trade will close, if it meets certain condition.
So in some cases, when I restarted EA, the trade closed where it is not supposed to. I realized this because I have used the same EA on 2 accounts (from the same brokers), and on one of the accounts, the trade was not closed.
Once I activated the auto trading, then (maybe after 15 min or so) the trade on the other accounts was closed now which is on better price of course...
Hi all,
I have some issues when starting EA on the chart.
Whenever I started to put EA even though I haven't clicked the "Auto Trading" button, the EA has already running the calculation.
I know it probably because I put EA on tick, so it always started to run the EA immediately.
I tried several solutions, like using time filter or hours filter, but sometimes during this filtered time, I need to restart the EA, so I am just wondering if there's any other solutions to avoid this "error"?
Any helps would be appreciated. 
Thanks!
@roar ok. Thanks so much! will try that 
Hi guys,
I've created a condition, where Stop Loss will move to Open Price Level after certain situation.
Now. I want to create a condition, where if the Open Price is the same with Stop Loss Price.
Would this condition below works?

If yes, what option mode of Stop Loss should be used? There are price level, price fraction and pips.
Thanks so much in advance!