Login Page - Create Account

Support Board


Date/Time: Sat, 22 Feb 2025 18:24:36 +0000



Trading Position Average Price

View Count: 556

[2021-02-01 16:00:01]
User87521 - Posts: 116
See attached image file.

I am running in Sim mode. Trade Position Average Price does not seem to work in real time. In backtests it works every time. If I close this chartbook and re-open the TPAP will calculate correctly and stay until parameters call for a change. I have other charbooks which utilize TPAP and they seem to work fine real time and backtest. I cannot see a reason why this does not work when Sierra clearly recognizes that there is an actual trade position.

Thanks.

http://www.sierrachart.com/image.php?Image=1612195077185.png
[2021-02-01 19:54:02]
Sierra Chart Engineering - Posts: 104368
Is Trade >> Trade Simulation Mode On enabled?

Check this setting:

Chart Settings: Order Fills Start Date-Time (Chart >> Chart Settings >> Trading menu)
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-02-01 20:07:28]
User87521 - Posts: 116
That setting is blank. No values entered.
[2021-02-02 15:13:58]
User87521 - Posts: 116
However, if you have a Trade Position which spans a long time, then it may be necessary to set this to a date earlier than the earliest date loaded in the chart.

I decided to try this, even though my trades do not span much time in this chartbook. A trade was taken this morning and no Trade Position Average Price was registered. When I set the date to Jan 1 the TPAP immediately updated correctly. It just finished the trade and sold for a profit using the TPAP as part of the close trade criteria.

It seems that this has solved the problem although I'm not sure why yet at this point. I can see where a longer timeframe trade or multiple trade positions would make this more important, but I was not in any other positions and the trade size was 1.

Anyway, from now one, if I use TPAP I will also set this date back at least a month and see if that works better.

Thanks.
[2021-02-04 05:26:52]
User87521 - Posts: 116
Is it normal for this setting to disappear? I can set it and it seems to stick until I run a back-test. When I run the back-test it disappears in every chartbook.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account