Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 17:40:26 +0000



Post From: Futures tick/point values on the charts

[2024-02-08 14:55:47]
User744218 - Posts: 15
Thank you. I am able to get the tick value using this script. Is there a function to get a number of ticks in a point so that I can display the Point value?

------------------------------------------------------------------------------

  SCString SymbolDescription;
  sc.GetSymbolDescription(SymbolDescription);
    //SCString SymbolDescription;
  // -added tickvalue
  
  //sc.CurrencyValuePerTick
  
  // Added - Converting numeric to text; 4f denotes 4 decimals; change as per contract
SCString TestString;
float Value = sc.CurrencyValuePerTick;
TestString.Format("%s %.4f", " Tick:", Value);