AA:=(WINNER((CLOSE + ((CLOSE * 15) / 100))) * 100);
BB:=(WINNER((CLOSE + ((CLOSE * 0) / 100))) * 100);
CC:=(AA - BB);
DD:=((WINNER((CLOSE - ((CLOSE * 0.1) / 100))) - WINNER((CLOSE - ((CLOSE * 15) / 100)))) * 100);
EE:=(((CC < 3) AND (DD < 0.5)) AND (OPEN > LOW));
A1:=DYNAINFO(6);
A22:=IF((LOW > A1),0,IF((HIGH < A1),1,(((A1 - LOW) + 0.01) / ((HIGH - LOW) + 0.01))));
A3:=(VOL / WINNER(LOW));
A4:=REF(HHV(CLOSE,120),1);
A5:=REF(LLV(CLOSE,120),1);
A6:=((100 * (CLOSE - A5)) / (A4 - A5));
A7:=((A22 > 0) OR (A22 = 1));
A8:=((A7 AND ((A3 / REF(A3,3)) >= 3)) AND (A6 < 80));
A9:=(((REF(A8,1) OR REF(A8,2)) OR REF(A8,3)) OR REF(A8,4));
A10:=(A8 AND A9);
加仓:IF((FILTER(A10,3) OR EE),10,0);
九毛八公式解读
AA赋值:(以(收盘价+((收盘价*15)/100))计算的获利盘比例 * 100) BB赋值:(以(收盘价+((收盘价*0)/100))计算的获利盘比例 * 100) CC赋值:(AA - BB) DD赋值:((以(收盘价-((收盘价*0.1)/100))计算的获利盘比例 - 以(收盘价-((收盘价*15)/100))计算的获利盘比例) * 100) EE赋值:(((CC < 3) AND (DD < 0.5)) AND (开盘价 > 最低价)) A1赋值:最低价 A22赋值:如果(最低价>A1),返回0,否则返回如果(最高价 0) OR (A22 = 1)) A8赋值:((A7 AND ((A3 / 3日前的A3) >= 3)) AND (A6 < 80)) A9赋值:(((1日前的A8 OR 2日前的A8) OR 3日前的A8) OR 4日前的A8) A10赋值:(A8 AND A9) 输出加仓:如果(A10的3日过滤OREE),返回10,否则返回0