同花顺 填写的选股公式总是提示行9缺少;请高手帮改下

2025-03-31 22:09:33
推荐回答(1个)
回答1:

MA5:"MAA.MA1#DAY",colormagenta,CIRCLEDOT,LINETHICK2;

昨高:"MAA.MA2#DAY",colorred,LINETHICK2;

昨低:"MAA.MA3#DAY", colorgreen,LINETHICK2;

{昨开:="MAA.MA4#DAY",NODRAW;}

昨收:="MAA.MA5#DAY",NODRAW;

{均线: SUM(C*V,0)/SUM(VOL,0),coloryellow;}

//{文字竖排

//DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.01,0,STRCAT('昨高: ',CON2STR(昨高,2))),colorred;

//DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.06,0,STRCAT('昨低: ',CON2STR(昨低,2))),colormagenta;

//DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.11,0,STRCAT('昨收: ',CON2STR(昨收,2))),colorgreen;

//DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.16,0,STRCAT('昨开: ',CON2STR(昨开,2))),colorblue;

//DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.21,0,STRCAT('五日均线: ',CON2STR(MA5,2))),colorlimagenta;

//}


//{文字横排}

//DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.01,0,STRCAT('昨高: ',CON2STR(昨高,2))),colorred;

//DRAWTEXT_FIX(CURRBARSCOUNT=1,0.08,0.01,0,STRCAT('昨低: ',CON2STR(昨低,2))),colorgreen;

//DRAWTEXT_FIX(CURRBARSCOUNT=1,0.16,0.01,0,STRCAT('昨收: ',CON2STR(昨收,2))),colorwhite;

//{DRAWTEXT_FIX(CURRBARSCOUNT=1,0.24,0.01,0,STRCAT('昨开: ',CON2STR(昨开,2))),colorblue;}

//DRAWTEXT_FIX(CURRBARSCOUNT=1,0.32,0.01,0,STRCAT('五日均线: ',CON2STR(MA5,2))),colormagenta;