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
(TimeSeconds(TimeCurrent()) < 60)
That will always be true.
Hi there,
i have changed the function for you and now it saves the date of the last update into the file:
I hope, this one works better for you.
Best regards,
Hi there,
i have changed the function for you and now it saves the date of the last update into the file:
I hope, this one works better for you.
Best regards,
That will always be true
what if make use of the monthly candle opening. every time new monthly candle created, then take the balance of that point. Will that works?
what if make use of the monthly candle opening. every time new monthly candle created, then take the balance of that point. Will that works?
I have tried an another code and it works well but the problem is,when the weekend is at , the new balance does not appear
That will always be true.
I think it is good to specify the weekend however I do not know how to do that
for eg: if TimeDay(TimeCurrent()) == 1 is in weekEnd, choose TimeDay(TimeCurrent()) == 2
if TimeDay(TimeCurrent()) == 2 is in weekend, choose TimeDay(TimeCurrent()) == 3
... and soon as
but we should specify the number of day in one month(31 days for january,28 or 29 days for february... and soon as)
I think it is good to specify the weekend however I do not know how to do that
for eg: if TimeDay(TimeCurrent()) == 1 is in weekEnd, choose TimeDay(TimeCurrent()) == 2
if TimeDay(TimeCurrent()) == 2 is in weekend, choose TimeDay(TimeCurrent()) == 3
... and soon as
but we should specify the number of day in one month(31 days for january,28 or 29 days for february... and soon as)
Hi,
i'm sorry, but i think i forgot a little thing: you must use the FILE_BIN Option in the FileOpen statement - the
correct code should look like this:
Best regards,
What if there are no ticks during a specific candle period? There can be minutes between ticks during the Asian session, think M1 chart.
Hello, plz help me
@William Roeder: I do not understand exactly what I mean
I have updated the code but the problem now is it gets the balance 2 times in one month, however it shoud get the value of TP once per month
The code does not get the value of the account balance before write and read a file