一硝:(HHV(HIGH,9)+LLV(LOW,9))/2,colormagenta,LINETHICK2;
二黄:(HHV(HIGH,26)+LLV(LOW,26))/2,coloryellow,LINETHICK2;
硝酸钾:=MA(C,3);
硫磺:=MA(硝酸钾,5);
木炭:=MA(硝酸钾,60);
三木炭:=3*木炭-2*硫磺;
AA:=CROSS(二黄,三木炭);
BB:=CROSS(一硝,二黄);
DRAWTEXT(BB,二黄,'火'),colorred;
DRAWTEXT(AA,二黄,'黑火药'),colorgreen;
同花顺主力买股主图指标公式的选股公式如下: