
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
I have deleted it and compiled the code, but i get same results again...
It is needed by the indicator. You should check the value. I don't see where it comes from.
This is so weird, when i Print last price or anything else i get correct results
but when i do PrintFormat i get
This is so weird, when i Print last price i get
but when i do PrintFormat i get
Sorry, my bad. I don't usually use PrintFormat. I wrongly assumed %d was for double.
Try this instead.
Sorry, my bad. I don't usually use PrintFormat. I wrongly assumed %d was for double.
Try this instead.
No worries it's fine... now i get correct results
but my if logic doesnt work and i dont know why... it's clear that 52402.1 is higher than 51695.2, but i still get buy signal
No worries it's fine... now i get correct results
but my if logic doesnt work and i dont know why... it's clear that 52402.1 is higher than 51695.2, but i still get buy signal
I think i managed to figure it out.... i had to put everything in my if logic on a previous tick, and now all the values are correct and logic works....
now it places order next day at midnight( on candle close) i don't want that, i would like that it places order at 23:59:00 same day. Do you know how to do that?