在圖形的左邊,為何會顯示黃色,紅色,而紅色無法執行,為何,在編輯上是沒有問題的啊!黃色又是什麼意思?
策略雷達無法執行
- 126
- 最後發表 老鷹 2023 七月 12
//週趨勢指標
//週趨勢建倉
//settotalbar(250);
input:period_S(21,"短期");
input:period_K(27,"趨勢中期");
input:period_M(38,"中期");
input:period_L(90,"長期");
value1=absValue(LOW-LOW[1]);
value2=1*value1+2*value1[1];
value3=highest(LOW-LOW[1],0);
value4=1*value3+2*value3[1];
if value4<>0 then value5=100*(value2)/(value4);
if close>1.2*close[1] then value6 = 10*value2
else value6=value2/10;
value7 = 35*ema(value6,3);//VAR3:=EMA(IF(CLOSE*1.2,VAR1*10,VAR1/10),3);
value8 = lowest(low,period_M);//VAR4:=LLV(LOW,38);
value9 = highest(value7,period_M);//VAR5:=HHV(VAR3,38);
if low=lowest(low,period_L) then value10 = 1
else value10 = 0;//VAR6:=IF(LLV(LOW,90),1,0);
if low <= value8 then value11 = (value7+2*value9)/2
else value11 = 0;
value12 = 250*value10*ema(value11,3)/309;//VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;
condition1 = value7 > 0 and value12 > 0 and volume > 100;
if condition1 then ret =1;
※這是無法執行的腳本,麻煩你,謝謝
3 評論