[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 286
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
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?
;)