Page 4 of 4

Re: Display Trading History on a Chart

PostPosted: Wed Oct 04, 2017 6:03 am
by robocod
It seems that the API has changed back to how it used to be, and to request the correct report you need to specify "&report_name=REPORT_NAME_CUSTOMER_ACCOUNT_STATEMENT".

See attached version.

However, I notice that the history is not drawn correctly, seems like it has wrongly imported the dates. I think the dates in the report are local, but they are drawn as EST (so in my case all data is +5 hours).

I don't use this indicator myself, and I'm not sure how it used to happen (maybe I just need to set my chart preferences?), or perhaps the report dates used to be in EST, and now they're local?

The code probably needs to be further modified to handle the time-change.

Re: Display Trading History on a Chart

PostPosted: Thu Oct 05, 2017 5:12 pm
by Mountaintrader
Thanks Robocod, works great now,I'm on EST which is why my trade times are correct. Much appreciated.

Mountaintrader

Re: Display Trading History on a Chart

PostPosted: Wed Oct 11, 2017 9:04 am
by RVK2211
Hi,

Is there anyone who could modify it to include a Timezone offset?

The trade history indicator works great, accept it displays in the wrong location.
I use local time AWST +8 - see attached.

RVK

Re: Display Trading History on a Chart

PostPosted: Thu Oct 12, 2017 3:44 am
by Apprentice
Your request is added to the development list under Id Number 3919

Re: Display Trading History on a Chart

PostPosted: Fri Oct 13, 2017 12:33 pm
by Alexander.Gettinger
RVK2211 wrote:Hi,

Is there anyone who could modify it to include a Timezone offset?

The trade history indicator works great, accept it displays in the wrong location.
I use local time AWST +8 - see attached.

RVK


I added the timezone offset.
Please, try this strategy:
TradingHistory.lua
(22.43 KiB) Downloaded 1010 times

Re: Display Trading History on a Chart

PostPosted: Tue Oct 31, 2017 9:43 pm
by RVK2211
Works a treat - thanks a lot!!!

Re: Display Trading History on a Chart

PostPosted: Wed Oct 03, 2018 5:29 am
by Apprentice
The Indicator was revised and updated.

Re: Display Trading History on a Chart

PostPosted: Wed Mar 30, 2022 4:52 pm
by Mountaintrader
Hello,

Anybody else experienced this indicator stop working recently ?

MT