value1 = q_AvgPrice;// 取得1分鐘頻率的數值
Value2 = q_TotalAmount;
condition1= value2 crosses over value1; //close突破均價
condition2= value2<value1[1] and value2<value2[2];
condition4=GetField("估計量") > average(volume[1],1)*1;
if condition1 and condition2 and condition4
then ret = 1;
Print( Value1,Value2, condition1,condition2, condition4);
7 評論