Forum

Indicator Bug - Last X Bars' High Break

Hello, I am trying to build an indicator that shows a line next to the price that indicates last X Bars High. The only caviat is, that i want to show the maximum of the current and the last. In another words, only show the current Last X Bars Max if is higher compared to the L ast X Bars Max . Else

Declaration without type Error

Hey y'all I am sorry if this is a stupid question but i am new to mql5 and i cannot understand what i am missing here. class TNode : public CObject { public : CArrayObj *Child; // node childs