I don't actually understand the precious metals market... But having tested your code, I noticed several points.
1. IfCondition expressions other than you have edited must be corrected. Probably;
Code: Select all
[CompareGoldChange]
IfCondition=([CompareGoldChange] > 0)
IfCondition2=([CompareGoldChange] = 0)
IfCondition3=([CompareGoldChange] < 0)
3. The comparison in [CompareGoldChange] doesn't work. Because... when this evaluation, value of [GoldChangeOld] is still zero (null). So some delay seems to be necessary.
So;
Code: Select all
[Site]
FinishAction=[!EnableMeasureGroup Child][!Delay 1000][!UpdateMeasure CompareGoldChange]
If I am misunderstanding/missing something, sorry.