i'm sorry I didn't read your Option2 closely enough. I thought that the Disabled=1 and FinishAction=[!Enablemeasure.. combination would work because I've used it before and was surprised when you reported the price displays were all 0.00. You were actually very, very close.Option2:
- Therefore I gave it a shot adding Disabled=1 to [cIndex1_PriceCalc] and also FinishAction=[!Enablemeasure "cIndex1_PriceCalc"] to [mIndex1_Price] ... Result: No more Calc: Extra operation errors in the log, so far so good but: - Now all price displays are again 0.00
You just need to put [FinishAction=[!Enablemeasure "cIndex1_PriceCalc"] in the parent measure which is [InfoIndex1] rather than [mIndex1_Price].
Reason is that [InfoIndex1] is the measure that scrapes the page on CNBC.com not [mIndex1_Price] which simply gets the price string from [InfoIndex1]
Make the appropriate changes to MarketPrices.ini and MetMeaTemplate.inc, change the number of stocks, refresh the skin, change the number of stocks back again, wait five minutes then refresh again and you should be good to go.
P.S. Leave DynamicVariables=1 in [cIndex1_PriceCalc]
Statistics: Posted by Mordasius — Today, 7:05 am — Replies 168 — Views 2317275