Forum

VLine ObjectGet() not properly getting data (Possible miss understanding of the help file)

Add Vline to chart for testing.. void OnStart () { //--- // Object On chart name = sName; string sTemp = "Vertical Line 55321" ; string sName; string sAfterIteration; datetime time1,time2,time3,time4,time5; datetime time6,time7,time8,time9,time0; int iType = - 1 ; string sType; ENUM_OBJECT iNum;

Give Focus to chart by "ChartID"

I cannot find any code that will give "focus" to by ChartID If I have 4 charts open I would like to give focus to 1 when conditions are met.. Can anyone guide in the right direction. I dont care if its a script, ea, indicator ,article or some forum discussion something I could use or figure out (no