input: 前首日(1100225,0,110000000), 前次日(1100226,0,110000000),前三日(1100301,0,110000000),前四日(1100302,0,110000000),首日(1100720,0,110000000), 次日(1100721,0,110000000),三日(1100722,0,110000000),四日(1100723,0,110000000);
DRAWLINE(date=前首日,C,date=前四日,h ,1),coloraaffdd;
DRAWLINE(date=前首日,C,date=前四日,C ,1),colorBLUE;
DRAWLINE(date=前首日,C,date=前次日,C ,1),colorgreen;
DRAWLINE(date=前首日,C,date=前三日,L ,1),coloryellow;
DRAWLINE(date=前首日,C,date=前首日,c ,1),colorred;
起始日:=YEAR=2010 and MONTH=2 and DAY=25;
ref(C,BARSLAST(起始日));
DRAWLINE(date=首日,h,date=四日,h ,1),coloraaffdd;
DRAWLINE(date=首日,h,date=四日,L ,1),colorBLUE;
DRAWLINE(date=首日,h,date=次日,L ,1),colorgreen;
DRAWLINE(date=首日,h,date=三日,L ,1),coloryellow;
起始日1:=YEAR=2010 and MONTH=7 and DAY=20;
ref(H,BARSLAST(起始日1)); |