%> 在主图上显示日期的指标_教育巴巴炒股教程网
在主图上显示日期的指标 1051

{显示日期}

D1:=YEAR AND MONTH AND DAY;

AA1:=STRCAT(CON2STR(YEAR,0),'年');

AA2:=STRCAT(CON2STR(MONTH,0),'月');

AA3:=STRCAT(CON2STR(DAY,0),'日');

AA4:=STRCAT('星期',IF(WEEKDAY=1,'一',IF(WEEKDAY=2,'二',IF(WEEKDAY=3,'三',IF(WEEKDAY=4,'四',IF(WEEKDAY=5,'五',IF(WEEKDAY=6,'六','日')))))));

AA:=STRCAT(STRCAT(STRCAT(AA1,AA2),STRCAT(AA3,AA4)),'');

DRAWTEXT_FIX(D1,0.83,0,0,AA),COLORGREEN;



 

{股票教程网-http://9188edu.com指标公式,仅供学习研究,参考价值,请勿以此为依据进行交易!}