将下面的公式加个条件
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

请老师将下面的公式加个条件: 只有AAA上 在大于0时,才出现红箭头提示!DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA1:=EMA(DIF1,9);{柱状线}AAA1:=(DIF1-DEA1)*2*60;AAA上:IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL),STICK,COLORRED,LINETHICK1;AAA下:IF(AAA1

解答:

 DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);

 DEA1:=EMA(DIF1,9);
 {柱状线}
 AAA1:=(DIF1-DEA1)*2*60;
 AAA上:IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL),
 STICK,COLORRED,LINETHICK1;
 AAA下:IF(AAA1<REF(AAA1,1),AAA1,DRAWNULL),STICK,COLORYELLOW,LINETHICK1;
 买入线:15;
 房子:AAA1-REF(AAA1,1),COLORRED;
 DRAWICON(CROSS(房子,买入线) AND AAA上>=0,买入线,1);
 

选股票看什么指标最好 >股票指标网