I.e. the rightmost bar which is not closed and is still being redrawn corresponds to the indicator buffer with index 0, and accordingly the first closed bar corresponds to index 1?
Good evening guys, advise how can be that on the marketinfo tradeallowed trading and at the same time error 133. i am still in diapers, and here i am stuck. and if the order without a specific financial instrument, it buys, but when i put the symbol of any pair in the buy operator, it gives 133. this is on the demo. advise please what may be the problem. thank you ))
Good evening guys, advise how can be that on the marketinfo tradeallowed trading and at the same time error 133. i am still in diapers, and here i am stuck. and if the order without a specific financial instrument, it buys, but when i put the symbol of any pair in the buy operator, it gives 133. this is on the demo. advise please what may be the problem. thank you ))
If your question is about the tester: in the tester you can only test the pair whose chart has been selected in the tester settings if the EA should open orders on a pair different from the selected one, then it will not work (but I have heard that it is possible to twist somehow)
it is possible to change this parameter in the inite, but in the start it is questionable
it is possible to change this parameter in the inite, but in the start it is questionable
it is possible to change this parameter in the inite, but in the start it is questionable
The only difference is for commands to the preprocessor everything else works anywhere, even in deinit.
tried to write an indicator, it turned out that I don't understand at all which element number of the indicator buffer corresponds to an unclosed bar?
i.e.
buf[i] = EMPTY_VALUE;
what i equals ????
tried to write an indicator, it turned out that I don't understand at all which element number of the indicator buffer corresponds to an unclosed bar?
i.e.
buf[i] = EMPTY_VALUE;
what i equals ????
anything
if so
int i=0;
buf[i] = EMPTY_VALUE;
then i==0;
I.e. the rightmost bar which is not closed and is still being redrawn corresponds to the indicator buffer with index 0, and accordingly the first closed bar corresponds to index 1?
is it possible to repaint a bar using an indicator?
i.e. the closed bar which corresponds to the indicator buffer buf[1] was a bearish candle I want to paint this bar with the indicator buffer colour
Good evening guys, advise how can be that on the marketinfo tradeallowed trading and at the same time error 133. i am still in diapers, and here i am stuck. and if the order without a specific financial instrument, it buys, but when i put the symbol of any pair in the buy operator, it gives 133. this is on the demo. advise please what may be the problem. thank you ))
Good evening guys, advise how can be that on the marketinfo tradeallowed trading and at the same time error 133. i am still in diapers, and here i am stuck. and if the order without a specific financial instrument, it buys, but when i put the symbol of any pair in the buy operator, it gives 133. this is on the demo. advise please what may be the problem. thank you ))