Login Page - Create Account

Support Board


Date/Time: Tue, 24 Dec 2024 16:43:14 +0000



Post From: Condition of in market for a particular Symbol

[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.