Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 1089

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
Another question is how to cut off extra zeros?
to make it 0.2.
ps the number of digits after the decimal point will always be used differently
There are up to 8 fractional decimal digits, correct as you need.
Reworked it like this - everything goes
Shorter in the source code, longer in the execution. I'm all for fast execution. Run the comparison script, I got 6 seconds and 11 seconds. Blame the number to string operation, it's better to do it once.
Reworked it like this - it's going
How do you understand it's going? Are the two horizontal lines being created? There are no errors in my log but lines do not appear after the start of the script
It`s strange, though - it worked and created lines on AUDCAD, but not on AUDCHF and EURUSD...
I think I understand it... It does not appear on charts that already have horizontal lines. If I remove them and run the script, lines will appear. But why do they appear? Question.
Re-creating a line or even another object with the same name is forbidden
Any object has a name. Right-click on the graphic --> List of objects
Time can be saved in the name of the horizontal line
There are up to 8 fractional decimal digits here, correct as you wish.