Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 11:00:11 +0000



Post From: Copy drawings to another chartbook that were created with ACSIL?

[2013-07-18 15:24:53]
User45685 - Posts: 36
I have a working custom study running which creates drawings in pure ACSIL and is not tagging them as userdrawings so that i dont have to delete evrything manually:

s_UseTool Tool;
    Tool.Clear();
    Tool.ChartNumber = sc.ChartNumber;
    Tool.DrawingType = DRAWING_RECTANGLEHIGHLIGHT;
    Tool.LineNumber = LOW_LINENUMBER_BASIS + sc.Index-2;
    Tool.BeginIndex = sc.Index-2;
    Tool.BeginValue = sc.BaseData[SC_RENKO_CLOSE][sc.Index-3];
    Tool.EndIndex = sc.Index;
    Tool.EndValue = sc.BaseData[SC_RENKO_OPEN][sc.Index-2];
    Tool.Color = LOW_COLOR;
    Tool.SecondaryColor = LOW_COLOR;
    Tool.TransparencyLevel = TRANSPARENCY_LEVEL;
    Tool.LineWidth = RECTANGLES_LINE_WIDTH;
    sc.UseTool(Tool);

The drawings are done/performed on renko bars, but it seems that i cannot transport/overlay these drawings onto lets say a 1 Minute timeframe chart.

Is there any solution to this? I tried useing the Study/Price overlay study but it does not seem to work. Suggestions?