网友求助:
JM1:=(HIGH+LOW+CLOSE)/3;
QJ00:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
主买:=(QJ00*(JJM1-MIN(CLOSE,OPEN)));
主卖:=(QJ00*(MIN(OPEN,CLOSE)-LOW));
AAQ:=IF(C>(H+L)/2,JE,0);
BBQ:=IF(C<(H+L)/2,JE,0);
F1:=SUM(AAQ,5);F2:=SUM(BBQ,5);F3:=EMA(F1-F2,3);
波段买:主买>主卖 AND CROSS(F3,REF(F3,1)) AND F3<0 AND C<15,COLORblue,linethick0;
DRAWTEXT(波段买,L-0.2,'★波段买'),COLORblue;
解答如下:
JJM1:=(HIGH+LOW+CLOSE)/3;
QJ00:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
主买:=(QJ00*(JJM1-MIN(CLOSE,OPEN)));
主卖:=(QJ00*(MIN(OPEN,CLOSE)-LOW));
AAQ:=IF(C>(H+L)/2,VOL,0);
BBQ:=IF(C<(H+L)/2,VOL,0);
F1:=SUM(AAQ,5);
F2:=SUM(BBQ,5);
F3:=EMA(F1-F2,3);
波段买:主买>主卖 AND CROSS(F3,REF(F3,1)) AND F3<0 AND C<15,COLORblue,linethick0;
DRAWTEXT(波段买,L-0.2,'★波段买'),COLORblue;