@biztet you must put the condition "current profit is above maxprofit" before updating your maxprofit variable, otherwise "maxprofit" is actually just the current profit.
To set $100/$500/$1000 treshold, simply use "check profit"

@biztet you must put the condition "current profit is above maxprofit" before updating your maxprofit variable, otherwise "maxprofit" is actually just the current profit.
To set $100/$500/$1000 treshold, simply use "check profit"

@len-1 I recreated your example and it runs just fine for me. Your problem is somewhere else, maybe you dont have history data
https://fxdreema.com/shared/ENZnCKNRb

@len-1 said in How to get only the MACD histogram?:
Candle IDs have to be the same in order to utilize the = , >,< , etc.
No, they dont have to be. You can compare ID1 to ID2
@sirboyce the mt4 feature that tests different input values for EAs. Did you use that, or is this result with default values?
I would say the most important factor is your test methodology. I assume you used optimization algorithm for the whole period up to July 2020. Now you must live test the EA in order to confirm the profitability.
A better way would have been to optimize for, say, up to 2019. Once you get a similar nice curve from optimization, you can "forward" run the rest of history (2019-2020). Much easier way to confirm profitability.
@sirboyce without a project link I can only assume you messed up something lol 
@sirboyce this depends on the chosen stop loss mode. In the picture, its raw price value (price fraction), not pips. So if EURUSD is 1.1900 and ATR is 0.0050, SL for sell will be at 1.1900 + 0.0050 = 1.1950 level.
@olixman21 here you go:
https://fxdreema.com/shared/r9mepbPW
I also used some constants in the project, they are very useful once you get more advanced in EAs.
This RSI strategy is very powerful, I recommend you to keep it at the core of your strategy in the future as well!

@khalids222 here's how I would do it: https://fxdreema.com/shared/czm4e40xb
I try to avoid on/off blocks and "on Trade", because they make the system a bit confusing to manage.
Edit: fixed the comment block for tracking https://fxdreema.com/shared/sxt8wRKgc
@khalids222 all right, let me get the strategy:
Right?
@khalids222 you need to first calculate the total of your open lots.
Use loop "for each trade" and sum up all the lot sizes in one variable.
@traderea6 said in Understanding Fibonacci in FXdreema:
how does the Fibonacci tool decide when or which is the highest or lowest point to draw?
It doesnt. You must find the high and low yourself and then give the time/price coordinates in the block.
This depends what you mean by "histogram". In some charting software, the histogram (grey bars) is the difference between macd and its signal line. Metatrader, on the other hand, displays the actual macd main line as histogram.
@biztet what does this percentage refer to? % from maximum profitable swing during the trade? There is a ready-made option for "% of profit":

@biztet no, pass block doesnt really do anything. Most often the block is used just to create a connection in order to activate some alone block, because fxdreema ignores all blocks without a connection
Because of these 2 errors, none of the pictures will work, sorry 
Fix:
