Support Board
Date/Time: Sun, 19 Jan 2025 12:29:13 +0000
Post From: 64 Bit performance
[2018-04-05 20:09:21] |
WarriorTrader - Posts: 245 |
Hello, Can you post the code for the example? Still getting zeros with sc.GetStudyPersistentFloatFromChartStudy. Should I replace sc.PersistVars? const float TickHigh = sc.GetStudyPersistentFloatFromChartStudy(VisibleBarsChart.GetChartNumber(), VisibleBarsChart.GetStudyID(), 1);
Source: float& TickHigh = sc.PersistVars->f1;
float& TickLow = sc.PersistVars->f2; //float& PriceForTickCandle=sc.PersistVars->f3; float& PriceForTickCandleCurrent = sc.PersistVars->f3; int& TickIndex = sc.PersistVars->i1; float& ValueHigh = sc.PersistVars->f4; float& ValueLow = sc.PersistVars->f5; float& ValuePOC = sc.PersistVars->f6; float& CurrentOpen = sc.PersistVars->f7; if (CandleType.GetIndex() == 1) { Thx, WT |