@ambrogio said in EA PICKING MORE THAN ONE TRADE PER TIME:
@sonnybatet-0 Hi! Please can you upload a link to your project? This way we can see if there are some issues.
simple questions require simple answers.
it is coded wrong.
@ambrogio said in EA PICKING MORE THAN ONE TRADE PER TIME:
@sonnybatet-0 Hi! Please can you upload a link to your project? This way we can see if there are some issues.
simple questions require simple answers.
it is coded wrong.
@slimmz said in Sort Ranging/Sideways Market, Only Trade Massive Trend:
How do I achieve this:
Since my algorithm is to take trade every MA crossover, it does make profit if the market is in trend, but if the market isn't in trend (ranging/sideway) it is not profitable since it will open and close trades too often that will cause in loss.
How can i sort that ranging market out so the trade will not be opened if the market is ranging/sideway or if there is too many trades occurs in certain time?
one must logically define what makes something a "range." you can turn it into a variable value of pips for instance.
now, when the variable value is above a certain amount of pips, then you seek trades of the MA cross
oh, and oh by the way, you must be able to define the range while it is being developed. if you are seeking to define a range after its happened, its too late to stop the EA from trading. So you must make a standard definition of consolidation...and only you can do that for you and your EA. Everyones version is different.
@talalkhan looks like a simple delta volume indi.
perfect!! nice work. Sorry i called it select object by name, but the most important was "name contains"
above your variable mod, first you have to reference that name "line" because for each new "line" that is drawn it is given a number with the way you have it configured.
So above the variable mod, theres an orange loop for objects section. Id use select by name, and use the name contains block there instead, or select object by type? by color? the way you're using it is about the only wrong way to reference the way that line is drawn. 
@len-1 any sort of information to give if you want help?
@len-1 use the block check distance, input the 2 things to check. display them as a var.
....for example.
If a ZZ indi gives me a new HH. I will set a pending buy order at that line, once price creates a new LL. That means, I'll need to keep in mind that when a new LL is created the ID of my initial HH is going to change, so before it does it I either need to have something set, or just just a line, I could "once a day" make that value a variable that only gets reset once a day....or only resets when a trade is executed.,,,something like that.
Small technicality, everything repaints. Price. MA's. Ichimoku. Bollingers....until C0 is closed, everything repaints.
@haoglueck just because it repaints doesn't necessarily mean its bad. you just have to change your thought process to work with it is all.
also the condition block should be seeking a price level property, not a color.
You could also just refer to it by color as you did.
if you want to keep the configuration you have, you could also just search for objects by name "that contains" and then just put FIBO in both spaces in that by 'name object loop' block. From there, no matter how many fibs are drawn, they will all be named FIBO#, with an increaseing # of each successive drawn fib. Then you;d have to delete each prior one, once a new one is drawn.
plenty of ways to do it!

make this change of the YES / NO blocks that I did and the name will work.
@proteinx that problem is to you specific. I am always using MT5, and Dreema. No issues like that. I also don't use custom indi's regularly...
everyone has to make money!
just stopping in to let you know thats what my sons charts look like when he is reading them and annotating....he's 6. LOL! So many lines and squiggles!! haha
i have a discord channel that was made so projects could be worked on together as a team, much quicker than in the format of a forum.
time filter.
day of week filter.
Close trades.
@vish i wouldn't waste any brain power to substitute clicking a trade, and then hitting your space bar.