How to get only the MACD histogram?
-
Hey, I tried to make a MACD EA which starts to trade buy/sell if the MACD histogram crosses with the signal line. Unfortunately it wont work because there is no MACD histogram indicator on fxdreema nor in the web standalone.

Hope someone knows something how to help me since I searched through the whole forum and web after a MACD histogram. I tried it with a OsMA but it aint giving the same result/histogram like the MACD with the same values.
-
Can someone help me please? @l-andorrĂ @fxDreema @roar @Mirotrader @Miro-Bagrov @miro1360
-
@sonixhd3 I think this is what you need:

-
@roar this should help you what I mean:

And the close should be the opposite way. But thanks that you are the first one to reply me!
-
@sonixhd3 the histogram is "main line" in fxdreema. You can also set "cross above" instead of "is above", as is in my picture.
-
@roar oh I didnt know that. Thank you very much don't know what I would do without you!
-
@roar,
Do you know of a way to isolate the value of one of the istogram bars with the next bar? I cannot seem to get to compare one bar to the next in order to set up my condition. Candle IDs have to be the same in order to utilize the = , >,< , etc. I don't know how to say this bar of the histogram candle 2 is > < histogram candle 1. Do you know how I can do that? Thanks -
@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
-
@roar Thanks for your response, but take a look at this really simple thing here. It does not even compile to backtest. This is what I mean about candle comparison.
I also assigned variables to each one of those MACD bars and I still cannot get a way to compare as a condition.
Any advice?Thanks. I appreciate your help if you can.
Len -
@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

-
@roar Thanks for taking the time. I have no idea why my strategy tester isn't working then. I appreciate it.
