Login Page - Create Account

Support Board


Date/Time: Wed, 15 Jan 2025 19:51:49 +0000



Post From: Request A New ACSIL LineStyle

[2017-01-25 21:58:16]
Zosimus - Posts: 345
You can get this done by running a loop from the begin Index to the End index and draw a point.

expmale:

int StartIndex = 500;
int EndIndex = 520;
for(int i = StartIndex; i <= EndIndex; i++){
s_UseTool Points;  
  Points.Clear();  
  Points.ChartNumber = sc.ChartNumber;
  Points.DrawingType = DRAWING_MARKER;  
  Points.MarkerType = MARKER_POINT;  
  Points.MarkerSize = 5; // some int for the size;  
  Points.Color = RGB(0,255,0); //or whatever RGB color code
  Points.LineNumber = 1000; //some int for the Line Number
  Points.AddMethod = UTAM_ADD_ALWAYS;                    
  Points.UseRelativeVerticalValues = 0 ;
  Points.BeginIndex= i;      
  Points.BeginValue = //the price at which you want the line;          
  sc.UseTool(Points);  
}
Date Time Of Last Edit: 2017-01-25 21:59:40