From my signal I manage to call the Incator by adding the following :
Code: Select all
using PowerLanguage.Indicator;
private RSI_STR04 RSI_Indicator;
RSI_Indicator.Draw_RSI_PreEntry_Lines(RSI_01M_PEN_LO1_TIM, RSI_01M_PEN_LO1, RSI_01M_PEN_LO2_TIM, RSI_01M_PEN_LO2)
Code: Select all
private ITrendLineObject RSI_PEN_TL;
public void Draw_RSI_PreEntry_Lines (DateTime RSI_01M_PEN_LO1_TIM, double RSI_01M_PEN_LO1, DateTime RSI_01M_PEN_LO2_TIM, double RSI_01M_PEN_LO2)
{
RSI_PEN_TL = DrwTrendLine.Create(new ChartPoint(RSI_01M_PEN_LO2_TIM, RSI_01M_PEN_LO2), new ChartPoint(RSI_01M_PEN_LO1_TIM, RSI_01M_PEN_LO1), true);
RSI_PEN_TL.Style = ETLStyle.ToolSolid;
RSI_PEN_TL.Size = 1;
RSI_PEN_TL.Color = Color.DarkOrange;
}
Does someone can help me with this.
Thank you in advance for your contributions.