VAR111:=TROUGHBARS(3,15,1)<10;
VAR222:=PEAKBARS(3,15,1)<10; VAR333:=IF(VAR111=1,50,0); VAR444:=IF(VAR222=1,50,0); 精:=IF(VAR333=50,50,0); 準(zhǔn):=IF(VAR444=50,100,0); 買:IF( 精>REF(精,1),50,0); 賣:IF(準(zhǔn)>REF(準(zhǔn),1),50,0); DRAWTEXT(買=50,50,' 買' ),LINETHICK2; DRAWICON(買=50,50,1); DRAWTEXT(賣=50,55,' 賣'),LINETHICK2; DRAWICON(賣=50,50,2); |
|