Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 07:57:16 +0000



Global Profit Loss Management

View Count: 724

[2022-07-28 09:51:13]
Steve Leon - Posts: 290
Yesterday I was trading MES using Sierra/Teton Order Routing.
I had the Global Profit Loss Management set to -100 Loss for the day
I knew I had gone over that based on my PnL in the Trade Window
When I went into Global Profit Loss Management it said that it would flatten any positions for the rest of the day.
My final loss for the day turned out to be -147 for the day
Is it supposed to flatten the trade after it surpasses the loss ? So flattens after PnL (loss) for the day is greater than 100 immediately ? I thought this is what happened in the past but did not seem to occur the same way this time.
Thank you
[2022-07-28 14:41:43]
Sierra Chart Engineering - Posts: 104368
Yes:
Is it supposed to flatten the trade after it surpasses the loss ?

Check the Trade Activity Log for any messages related to Global Profit/Loss Management expected at that time:
Trade Activity Log: Viewing Historical Trade Activity

Otherwise, it is hard for us to know what the issue was.
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
[2022-07-28 19:28:05]
Steve Leon - Posts: 290
I am not sure after looking at the Trade Activity Log
I took a screen shot
The trade would have been yesterday at 7/27 at either 9:42 or 9:43
I dont see anything that says Global Profit/Loss Management

Thank you
imageSierra Trade Activity Log.PNG / V - Attached On 2022-07-28 19:27:57 UTC - Size: 196.39 KB - 95 views
[2022-08-03 14:41:24]
Steve Leon - Posts: 290
I am still having a problem using the Global Profit and Loss Management.

If I check the global profit and loss management section it states that i have reached my loss limit but my positions are not being flattened after i reach the threshold to prevent actual losses

Thank you
Steven Leon
[2022-08-03 18:43:53]
John - SC Support - Posts: 30953
We would need to see an image of your Global Profit/Loss settings in order to ensure that everything is setup properly.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-08-03 18:57:29]
Steve Leon - Posts: 290
I am seeing under status that the Positions flattened for today ...
However my positions do not seem to be flattened when i get past the set threshold (in this case -$50) and it allows me to continue to keep placing orders and letting them get filled without flattening them.
See what you requested as attached

Thank you
imageSC Global Profit and Loss.PNG / V - Attached On 2022-08-03 18:57:22 UTC - Size: 46.08 KB - 93 views
[2022-08-03 20:28:40]
John - SC Support - Posts: 30953
Everything looks correctly setup. Although interestingly, it is showing that you hit your maximum loss limit for the day. Did that work properly for you this time?
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-08-03 20:32:49]
Steve Leon - Posts: 290
No thats the issue. It does not liquidate my position above the threshold and then I am able to keep trading through the loss limit ?
[2022-08-03 21:59:17]
John - SC Support - Posts: 30953
If it flattened when you hit the -50.00 limit, but did not lock trading for the day, then that is because you need to enable the option for Lock After Positions Flattened (we did not notice this earlier).

If it did not flatten, then we would need to see your Trade Service Log (Trade >> Trade Service Log) and hopefully there is some reason why the flatten did not work properly.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-08-03 22:04:53]
Steve Leon - Posts: 290
It did not flatten or lock

I will make the change to lock after flatten

What is best way to send trade service log ? Screenshot ? I sent one the other day. I can send the one from today.

Thank you
[2022-08-03 22:39:17]
John - SC Support - Posts: 30953
Previously you had sent the Trade Activity Log, but looking at it, we do see the following a few times:
Trade Order Error: Insufficient Account Value For Margin For Order

We do not know for sure if this is related to the Flatten command from the Global Profit/Loss Management, as we can not see all of the information, but take a look at those lines and see what they state.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-08-04 00:38:14]
Steve Leon - Posts: 290
So I found the flatten orders in the Trade Service Log (attached screenshot).

I wound up with PnL of -168; although I had set Loss Trigger Value to -50.00. Is this because Lock after positions Flattened was not checked ?

Two other questions while on this topic
1) What does Disable Auto Trading on Lock do ? should i have this checked off ?

2) I have my start of day at 9:30. My PnL zeros at the start of Globex. The other day I thought the flatten status reset at the start of Globex session ? Today it has not reset at start of Globex session. Is it supposed to ?

Thank you
imageSC Flatten Global Profit and Loss.PNG / V - Attached On 2022-08-04 00:31:06 UTC - Size: 210.96 KB - 75 views
[2022-08-04 13:36:05]
John - SC Support - Posts: 30953
We are not sure when your PnL went to -168, but the one thing we see is that you were not locked out of trading (this is why you needed the option for "Lock After Positions Flattened" to be enabled), so you would want to see if your PnL was close to -50.00 right when the Flatten occurred and not at the end of the day.

1) If you are using an Automated Trading system, then you would want to also enable this option. It just ensures that any automated system will be stopped from being able to place trades.

2) If you have the "Lock After Positions Flattened" in combination with the "Lock for Day", then you would be locked out until the start of the new session for the day. Refer to the following:
Global Profit/Loss Management: Lock Trading (Global Settings >> Global Profit/Loss Management)
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-08-04 14:50:19]
Steve Leon - Posts: 290
So this morning before the 9:30 cash open i was definitely locked out from trading with the settings you suggested.
Then when the cash open started i was still locked out from trading
I wanted to start trading so i started to disable/reset and reload the charts. At the point my PnL was already -50
Whatever I did it allowed me to start trading
Once again I went beyond -50 trigger loss and the status message showed i was disabled but i could continue trading
The chart I am trading off of is in subinstance 3
I dont know if i have to completely shut down the platform and restart ?
At this point i am well beyond my loss limit with those settings and am not locked out
a bit confusing what is happening ?
Thanks for your help
imageSC Profit Loss Global 8-4-22.PNG / V - Attached On 2022-08-04 14:49:51 UTC - Size: 38.52 KB - 74 views
[2022-08-04 15:31:04]
Steve Leon - Posts: 290
As an addendum
i noticed that the flatten trigger loss occurred at -100
This is what it is set at on the main instance. It is set at -50 on subinstance 3
perhaps it uses the main instance only to determine this ?

i then restarted the platform
the lock trading for day and lock after positions flattened were checked on both main instance and subinstance #3 (that i am using for trading)
i was still able to enter orders which i was not able to earlier in the day as mentioned above at the start of todays thread

Thank you
[2022-08-04 15:41:46]
John - SC Support - Posts: 30953
Since you are using Sub-Instances, you would need to have the Global Profit/Loss set the same in all instances. A sub-instance does send the orders through the main instance, so having the main instance set the way you want is critical. It will also be necessary for the main instance to lock the trading.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-08-04 15:56:24]
Steve Leon - Posts: 290
I have the settings set exactly the same in the main instance and the subinstance and it is still not locking the trading ?
It is also not flattening positions even though my net pnl is over threshold limit for day ?
I also restarted the platform
Not sure why
Thank you
[2022-08-05 15:15:03]
Steve Leon - Posts: 290
Today I started trading around 8:30 am EST around the release of NFP data
My PnL was set at zero because it resets at the start of the Globex session and I did not trade overnight

I was able to place trades at that time and had a net loss of -50 and it allowed me to keep trading beyond that.

Then at 9:30 am EST I tried to trade and my trading was locked. Which would have been the strat of a new day ?

Would pressing rest yesterday explain any of this ?
What exactly does rest do ? I read the information provided but still did not really understand how it works ?
Could this be the issue ?

Thank you
[2022-08-06 10:24:05]
Sierra_Chart Engineering - Posts: 14006
The start of the trading day which controls Profit/Loss calculations is set independently in each individual chart. It is controlled with this setting:
Chart Settings: Start Time for Trades List (Chart >> Chart Settings >> Trading menu)

Then at 9:30 am EST I tried to trade and my trading was locked. Which would have been the strat of a new day ?
If the trading became locked around this time, there definitely would be a Trade Activity Log entry indicating this. So consult with that log and see why this happened:
Trade Activity Log

In the case of when using a sub instance of Sierra Chart and when Trade Simulation Mode is disabled in that sub instance, definitely do not use the Global Profit/Loss Management in that sub instance. It can only be set in the main instance of Sierra Chart. Using both will lead to conflicts and unpredictable behavior.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2022-08-06 10:29:48
[2022-08-06 12:52:34]
Steve Leon - Posts: 290
So I assume that you are suggesting to "uncheck": 1) flatten when trigger loss 2)lock after flateen and lock for the day and have no trigger loss value
I also assume you do not want to check disable on startup in the the subinstance of global profit and loss management.

I will try this

This makes sense

Thank you
[2022-08-25 10:45:58]
Sierra_Chart Engineering - Posts: 14006
In a sub instance you would want to have Global Profit/Loss Management disabled on startup.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-08-27 22:54:59]
Steve Leon - Posts: 290
Yes this is how i wound up setting it up. That is the Global Profit/Loss Management set up only on the main instance but not on the sub instances. It has been working now as expected

Thank you very much

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

Login

Login Page - Create Account