Forum

Adding to hst data problem

Alright....so here is the deal. I have written some code to render tick charts, and it works great...as long as I never close the chart/shutdown mt4/have a power outage/computer crashes/etc.... The reason any of those scenarios is a problem is...the offline chart data is wiped clean, and the chart

OrderSelect() always returns true

bool mh = OrderSelect (tck, SELECT_BY_TICKET, MODE_HISTORY ); bool mt = OrderSelect (tck, SELECT_BY_TICKET, MODE_TRADES ); Print ( "mh: " , mh, " mt: " , mt, " OrderClosePrice(): " , OrderClosePrice()); That is my code. I am running MT4 build 840. Using the history tester What is the problem? BOTH

Objects refusing to acknowledge parameters?

I am having a really odd issue with triangles. I have coded an indicator that finds harmonic patterns. For whatever reason, the first triangle of each pattern (xab triangle, and bcd triangle) always renders solid, and blue. NOTHING I do has any effect on the xab triangle. The bcd responds exactly as