编写要求:
求助老师将(百万公式)改为通达信公式! 止损:PRE/(1.04),color00ff00; 逃命:PRE/1.06,COLORee8400; 趋势: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); 买警: IF(趋势<=20,22,0); 卖1: IF(趋势>=95,86,95); 底部: 18; 卖2: IF(趋势>=88,79,88); 买进: IF(CROSS(趋势,底部),22,0); 买入:C,colorred; 卖3: IF(趋势>=81,66,81); 卖4: IF(趋势>=74,57,74); 买警1: IF(趋势<=25,28,25);
公式在线网解答:
趋势: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);