Login Page - Create Account

Support Board


Date/Time: Tue, 25 Feb 2025 16:10:03 +0000



Post From: Float problem on reading high

[2021-04-16 11:45:35]
User554446 - Posts: 29
Hi, I am trying to return on the message board the highest value of the candle (including premarket ) for debugging purpose. But I tryed both this code and they are returning a wrong value. Can you please help?

First Code:
float Price;
Price = sc.GetHighest(sc.BaseDataIn[SC_HIGH],2) ;
SCString Buffer;
Buffer.Format("My last price is %f. ", Price);

Second Code
float Price= sc.High(sc.Index);

Where is the problem?

Thank you

Andrea