Hi,
Could someone point out my mistake here ?
I want amibroker to plot vertical lines at times mentioned in code (eg. 103000, 113000 etc).
Don't know what's wrong and why it doesn't plot anything.
Could someone point out my mistake here ?
I want amibroker to plot vertical lines at times mentioned in code (eg. 103000, 113000 etc).
Don't know what's wrong and why it doesn't plot anything.
PHP:
Mark1 = TimeNum()>=103000 AND TimeNum()<=103003 ;
Mark2 = TimeNum()>=113000 AND TimeNum()<=113003 ;
Mark3 = TimeNum()>=123000 AND TimeNum()<=123003 ;
Mark4 = TimeNum()>=133000 AND TimeNum()<=133003 ;
Mark5 = TimeNum()>=143000 AND TimeNum()<=143003 ;
Mark6 = TimeNum()>=153000 AND TimeNum()<=153003 ;
Mark7 = TimeNum()>=163000 AND TimeNum()<=163003 ;
Mark8 = TimeNum()>=173000 AND TimeNum()<=173003 ;
Mark9 = TimeNum()>=183000 AND TimeNum()<=183003 ;
Mark10 = TimeNum()>=193000 AND TimeNum()<=193003 ;
Mark11 = TimeNum()>=203000 AND TimeNum()<=203003 ;
Mark12 = TimeNum()>=213000 AND TimeNum()<=213003 ;
Mark13 = TimeNum()>=223000 AND TimeNum()<=223003 ;
Mark14 = TimeNum()>=233000 AND TimeNum()<=233003 ;
Plot(Mark1,"",colorBlack,styleHistogram |styleOwnScale|styleNoLabel,0,1);
Plot(Mark2,"",colorBlack,styleHistogram |styleOwnScale|styleNoLabel,0,1);
Plot(Mark3,"",colorBlack,styleHistogram |styleOwnScale|styleNoLabel,0,1);
Plot(Mark4,"",colorBlack,styleHistogram |styleOwnScale|styleNoLabel,0,1);
Plot(Mark5,"",colorBlack,styleHistogram |styleOwnScale|styleNoLabel,0,1);
Plot(Mark6,"",colorBlack,styleHistogram |styleOwnScale|styleNoLabel,0,1);
Plot(Mark7,"",colorBlack,styleHistogram |styleOwnScale|styleNoLabel,0,1);
Plot(Mark8,"",colorBlack,styleHistogram |styleOwnScale|styleNoLabel,0,1);
Plot(Mark9,"",colorBlack,styleHistogram |styleOwnScale|styleNoLabel,0,1);
Plot(Mark10,"",colorBlack,styleHistogram |styleOwnScale|styleNoLabel,0,1);
Plot(Mark11,"",colorBlack,styleHistogram |styleOwnScale|styleNoLabel,0,1);
Plot(Mark12,"",colorBlack,styleHistogram |styleOwnScale|styleNoLabel,0,1);
Plot(Mark13,"",colorBlack,styleHistogram |styleOwnScale|styleNoLabel,0,1);
Plot(Mark14,"",colorBlack,styleHistogram |styleOwnScale|styleNoLabel,0,1);