Login Page - Create Account

Support Board


Date/Time: Sun, 12 Jan 2025 09:56:16 +0000



Post From: How to set condition to trigger email?

[2017-01-27 06:30:40]
User701247 - Posts: 117
Referring to attached image and given sample, I would like to know on how to define following variables as shown below:

//Bid Volume;Ask Volume;Total Volume;Number of Trades;Ask Volume Bid Volume Difference; Diagonal Ask Volume Bid Volume Difference;

int Ask_Bid_Vol_Different = Would following code comparing the Ask and Bid vol difference on same level?
if (ComparisonMethodIndex == 4)
{
int AskVolumeBidVolumeDifference = p_VolumeAtPrice->AskVolume - p_VolumeAtPrice->BidVolume;
int VolumeThresholdSigned = VolumeThreshold.GetInt();

if (AskVolumeBidVolumeDifference > 0 && VolumeThresholdSigned > 0 && AskVolumeBidVolumeDifference >= VolumeThresholdSigned)
ConditionMet = true;
else if (AskVolumeBidVolumeDifference < 0 && VolumeThresholdSigned < 0 && AskVolumeBidVolumeDifference <= VolumeThresholdSigned)
ConditionMet = true;
}

int Ask_Bid_Vol_Different_Diagonal = What about the coding comparing the Ask and Bid vol difference on Diagonal level?

if (ComparisonMethodIndex == 5)
{

Since the reference document is not available yet, do you have any suggestions on what variable should be used for retrieving AskVolume and BidVolume at Diagonal level?
int AskVolumeBidVolumeDifferenceDiagonal = p_VolumeAtPrice->? - p_VolumeAtPrice->?;
}

Furthermore, I would like to search for any variable's description, is there any search feature under sierrachart.com? so I can easily to read the description on any variables.

Table of Contents | (Advanced Custom Study/System Interface and Language (ACSIL))

Do you have any suggestions?
Thank you very much for any suggestions :>
Date Time Of Last Edit: 2017-01-27 06:54:17
imageCounting.JPG / V - Attached On 2017-01-27 06:23:08 UTC - Size: 93.19 KB - 362 views