[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 649
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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 ))
Please give me a code sample
is it possible to repaint a bar using an indicator?
i.e. the closed bar that corresponds to the indicator buffer buf[1] was a bearish candle I want to paint this bar with the indicator buffer colour
I want to change the size of arrows icons
how to change the size of the arrows icons, what should be added to the code to make the arrows look bigger, it just draws very small arrows
SetIndexBuffer(0, buf_1);
SetIndexBuffer(1, buf_2);
SetIndexStyle(0, DRAW_ARROW);
SetIndexArrow(0,241);
SetIndexStyle(1, DRAW_ARROW);
SetIndexArrow(1,242);
probably not possible, then please tell me
how to change the size of the arrow icons, what should be added to the code to make the arrows larger, but it draws just very small arrows
SetIndexBuffer(0, buf_1);
SetIndexBuffer(1, buf_2);
SetIndexStyle(0, DRAW_ARROW);
SetIndexArrow(0,241);
SetIndexStyle(1, DRAW_ARROW);
SetIndexArrow(1,242);
Dear programmers! Unfortunately, I don't have time to learn the MQL4 programming language. I'm asking you to write the following task advisor program (it consists of two parts):
Part one; or 1000 last ticks are written to a txt file and this file is updated with every tick.
Part two; reads a trade condition from another txt file, if the text is 1 then buy, if -1 then sell, if 0 then close order if order is present or do nothing if no order is present.
I want to test my ideas with Mathematica
is it possible to repaint a bar using an indicator?
i.e. the closed bar that corresponds to the indicator buffer buf[1] was a bearish candle I want to paint this bar with the indicator buffer colour
Look at the Heiken Ashi indicator, it has a similar effect.
Use the SetIndexStyle(0,DRAW_HISTOGRAM, 0, 1, color1) to draw wicks, and use thicker lines SetIndexStyle(2,DRAW_HISTOGRAM, 0, 3, color3) to fill the bars.
Dear programmers! Unfortunately, I don't have time to learn the MQL4 programming language. I'm asking you to write the following task advisor program (it consists of two parts):
Part one; or 1000 last ticks are written to a txt file and this file is updated with every tick.
Part two; reads a trade condition from another txt file, if the text is 1 then buy, if -1 then sell, if 0 then close order if order is present or do nothing if no order is present.
I want to test my ideas with Mathematica
It is possible to have different magiks or comments for orders opened according to different criteria. Then when closing on a paired criterion, the magik or comment is checked.