Suppose we have an indicator that draws a line. Suppose we want to draw a circle with this indicator. But we want to make it green if the indicator line is green, and red if it is red.
it seemed to me that your request has nothing to do with this thread. If you want someone else to write the code to the specified TOR instead of you, then go to https://www.mql5.com/ru/job
You can create functions with optional parameters, can you make a function that returns the sum of the values passed to it, so that their number is unlimited, or at least limited, but large)
so I want to create an object in blue)
sergeev, soindicator_color1 is a colour variable?
noooooo.
Suppose we have an indicator that draws a line. Suppose we want to draw a circle with this indicator. But we want to make it green if the indicator line is green, and red if it is red.
Do NOT ignore the request!!! Please.
Good people!
I know the situation is idiotic, but I can't help it. I cannot make friends with the "OrderSelect" function.
My TCP requires only one open order. Please, pass me the algorithm of order closing in the following case:
If the number of market orders = 1, it is a buy order and condition 1 is fulfilled (I will insert it myself), then
close it at the current price.
and if it is a sell order and condition 2 is fulfilled (I will also insert it myself) then
we close it at the current price.
Again, the program can open only one order - we do not have to search for it among thousands of orders!
Thank you.
Has anyone encountered the problem of the two MA trend change flag...? Got to this point and got stuck...
Any tips, pls! The idea is to write true in [bar shift] array when MA1> MA2 is done. then if all array is true - then flag is true.
Has anyone encountered the problem of the two MA trend change flag...? Got to this point and got stuck...
Any tips, pls! The idea is to write true when MA1> MA2 is done in the [bar shift] array . then if the entire array is true - then the flag is true.
//learn how to form the code