Support Board
Date/Time: Tue, 24 Dec 2024 02:41:21 +0000
Condition of in market for a particular Symbol
View Count: 737
[2015-10-30 07:05:13] |
KhaosTrader - Posts: 128 |
Hi, I have a warning system that will fire if I have particular patterns that will threaten a position. I want to make audio alerts for this, however I only want these alerts to fire when I am in the market... So the psuedo code would be something like this if (Long_PositionIsInDanger == true) && ( CurrentlyInMarket_Long == true) { warning logic here ( most likely an audio alert) } So I need to figure out how to determine if I am currently in the market long for a particular security that the chart is trading, since I am trading multiple charts simultaneously each with a different security. |
[2015-10-30 12:38:18] |
User742717 Mike - Posts: 86 |
This example code should help: Total Daily Profit / Loss for all symbols | Post: 70451 Your the TST KhaosTrader right? How is being TST funded going? Don't hear from you guys after the newest funded trader interview. Date Time Of Last Edit: 2015-10-30 12:58:20
|
[2015-10-30 12:48:23] |
KhaosTrader - Posts: 128 |
Yep it's me from TopStep.. Things are good at TopStep :)
|
[2015-10-30 12:58:59] |
User742717 Mike - Posts: 86 |
Cool, cool, that's good :) All the best. Cheers Mike |
[2015-10-30 18:16:23] |
Sierra Chart Engineering - Posts: 104368 |
You need to get the current Trade Position with this function: https://www.sierrachart.com/index.php?page=doc/doc_ACSILTrading.html#scGetPosition 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 |
[2015-10-30 18:59:40] |
KhaosTrader - Posts: 128 |
Thanks Mike :)
|
To post a message in this thread, you need to log in with your Sierra Chart account: