RekkeR: Thank you, although there is a persistent urge to ask why ))))
If it's a price line and not a candlestick, no one is stopping you from throwing in a MA with a period of 1. Any colour and thickness for your money :))
granit77: If it's a price line and not a candlestick, no one is stopping you from throwing in a MA with a period of 1. Any colour and thickness for your money :))
)))) Thanks.
Didn't have the wit to try a standard MA, tried to do it with a custom one, the minimum valid figure in the settings is 2, setting 1 on the real was 13.
When Order 3 (Sell) is closed, that Order 1 (Buy) still semaphores that it was closed on Stop Loss and so 2 orders in a row are placed, because Total=1.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
no
I think the correct answer is patamushta.
please advise !!!
how can i put the price of one of the levels of the two-way Fibonacci grid into a variable to place a pending order???
i can't figure it out
attach fibonacci grid
Thank you, although there is a persistent urge to ask why ))))
If it's a price line and not a candlestick, no one is stopping you from throwing in a MA with a period of 1. Any colour and thickness for your money :))
)))) Thanks.
Didn't have the wit to try a standard MA, tried to do it with a custom one, the minimum valid figure in the settings is 2, setting 1 on the real was 13.
Fell into a stupor.
Thank you.
To FoxUA.
When Order 3 (Sell) is closed, that Order 1 (Buy) still semaphores that it was closed on Stop Loss and so 2 orders in a row are placed, because Total=1.
Please don't kick me.
Night-time brain fog... (
There is a code:
int start()
{
Ret[0]=(Ask-Bid)/Point;
Print (Ret[0]," ",(Ask-Bid)/Point," ask=",Ask," bid=",Bid);
}
Result -
3 4 ask=0.973 bid=0.9726Do I have to "normalize" again?
;)
Zy. tried it like this
int start()
{
Ret[0]=(Ask-Bid)/Point;
Print (Ret[0]," ",(Ask-Bid)/Point," ",DoubleToStr((Ask-Bid)/Point,8)," ask=",Ask," bid=",Bid);
}
By default, the last zero is discarded. Set it to DoubleToStr().
And pass to int via string? Or add epsilon everywhere?
;)