Convert FXdreema
-
I can't find the error where is it can someone help me why? the buffer doesn't match after converting to mq5,
Look here the buffer in green won't drop to a value lower than 0
Please sir, if anyone knows the reason help me fix this

BDEA::IndicatorBuffers(9); BDEA::SetIndexStyle(0, DRAW_LINE); BDEA::SetIndexStyle(7, DRAW_LINE); BDEA::SetIndexStyle(8, DRAW_LINE); BDEA::SetIndexBuffer(0, ifisher); BDEA::SetIndexBuffer(1, ifishda); BDEA::SetIndexBuffer(2, ifishdb); BDEA::SetIndexBuffer(3, ifishua); BDEA::SetIndexBuffer(4, ifishub); BDEA::SetIndexBuffer(5, trend); BDEA::SetIndexBuffer(6, count); BDEA::SetIndexBuffer(7, ifisherMain); BDEA::SetIndexBuffer(8, ifisherSecondary); BDEA::SetIndexEmptyValue(7, EMPTY_VALUE); BDEA::SetIndexEmptyValue(8, EMPTY_VALUE); BDEA::SetLevelValue(0, Level1); BDEA::SetLevelValue(1, Level2); BDEA::SetLevelValue(2, Level3); BDEA::SetIndexLabel(0, ""); BDEA::SetIndexLabel(1, ""); BDEA::SetIndexLabel(2, ""); BDEA::SetIndexLabel(3, ""); BDEA::SetIndexLabel(4, ""); BDEA::SetIndexLabel(5, ""); BDEA::SetIndexLabel(6, ""); BDEA::SetIndexLabel(7, "Slow1"); BDEA::SetIndexLabel(8, "Slow2"); indicatorFileName = BDEA::WindowExpertName(); TimeFrame = MathMax(TimeFrame,_Period); BDEA::IndicatorShortName(timeFrameToString(TimeFrame)+" SLOW Bias "); //IndicatorShortName("MAX SLOW Bias"); return; -
@sangsariajisakti I guess both colours will be sharing the same buffer in your indicator. Sadly fxDreema cannot understand that. It needs separate buffers for each colour.
-
@l-andorrà Yes, it's really very unfortunate
I can't find the error -
@sangsariajisakti What you maybe could do is check the colour of line before using.
-
@jstap Yes, but I haven't found the answer yet, does anyone know why this can be separated sir in MT5, while in MT4 they are together
What should I change here?
The left image is MT4, the right is the result of converting Fxdream MT5

-
I finally found the error buffer mismatched value, thanks for the time
-
@sangsariajisakti The buffers are in 1, maybe get the value and check colour.
