Forum

Managing Objects Created by Tester

Hello gang, hope you all well. Im trying to debug my EA and itd be very helpful to isolate objects the tester created per trades. For example, hiding loser trader, or winners, or just hide sells/just buys. Im not sure if is it necessary to create Struct for it, and if so, i imagine i need to keep

Search Timeframe By Price

Hello everyone, I just learned about iBarShift which returns a candle ID by date, I would like the same by price. The docs mentions ArrayBsearch would only work on sorted arrays , Im trying to sort a copy of &high[] on the code below. Im a bit lost, as im getting the same result no matter if i sort

Managing Indicator with multiple buffers

Hello everyone, hope you are all doing great! I would love to know if theres a method to deal with multiple buffers. My thought is to use iMA() function to pull data from any symbol and any timeframe. To produce something like the image bellow: The problem becomes managing these buffers, from

MT4 Create Object indicator

Hello gang, Sorry for the very basic post, im trying to figure out why i dont see any rectangles on my chart. Im using Alert, Comment, Print to 'look for bugs' on the code, but its quite hard. Also not much of a C coder, so im opened to any other comments. To simplify the explanation of this

Indicator not recalculating first bar

Hello everyone, Im making my first indicator and I dont understand why its not refreshing/calculating the first bar. The indicator works with no errors apparently. As soon as I drag the indicator to a chart, the whole buffer is ok, but the first bar is 0. And the next bars that will eventually feed