@aman You need to use this code on the 'Adjust' tab of the value to modify this way:

In my example I selected 0 decimal positions. You should insert 2, instead.
@aman You need to use this code on the 'Adjust' tab of the value to modify this way:

In my example I selected 0 decimal positions. You should insert 2, instead.
@mpcontreras ZigZag is a very tricky indicator. If you are planning to use it don't be surprised if results are not what you expected. Sorry to be pessimistic. 
@xwhysquared Your logic is correct. The issue can be the definition of 'crossing up/down' the BB. I recommend to define better that crossing bu using two condition blocks instead. One requiring the open price to bo on one side and the close price on the other side of the BB.
@homemebel Thay are incomparable. The fisrt one is a distance in pips whereas the second is a price level. Do you mean the close price is above/below the MA value maybe?
@khalids222 You will need a struture of variables controlling all those calculations. Will that progression (1,2,3,...) be fixed or should it be inserted as input parameters?
@lanrayy Is this the whole project or just part of it? The logic is apparently correct.
@suleyman-0 With that configuration you will get hundreds of trades. The way volume is added searches for all open trades when that pips away distance is reached. Is that what the EA is supposed to do?
@shubhankar-kumar Coud you please share the link to your project? I will take a look at the issue.
@johann-0 That is hard stuff for real programmers.
If you are not given a hint in this forum, I recommend to contact the admin directly. He will reply in two or three weels, but will reply for sure.
@piptheripper I remember someone asked exactly the same some years ago and the answer is that, yes, in effect, you can do it, but then you need to be very careful no to conflict any used block. Many blocks, especially arrays, are 'searching' for info from other parts of the code and unless you know what toy are doing, that can be a mess. In short, you can do it, but be very careful.
@amincgi Pink dot options do not work correctly unless connected below a 'for each trade' block above it. You should connect one on top of block 21. Your trailing stop block is apparently correct.
@lanrayy That should go on the 'on init' tab.
@musa-5 This is the secons thread dedicated to the same issue. I replied to the previous one. Please don't duplicate threads.
@haikel This is the second thread dedicated to the same issue. I replied to tha other one. Please don't duplicate threads.
@musa-5 said in Chaikin Oscillator - is it working:
shared/x7YZTuNsc
Your logic is correct. However, I guess the problem is the custom indicator. Are you sure that is the correct buffer?
@pickay Did you check the indicator doesn't repaint? I guess it does. If so, the EA will never work as you wish.
@haikel Your alert block is empty, man! 
@moobee101 I'm afraid that option is not available in fxDreema.