var:A(0), B(0), C(0), con1(false), con2(false), con3(false), LONG(false);
A=open[10]; B=high[10]; C=low[10];
con1=A>close and A<100;
con2=B>close and B<100;
con3=C>close and C<100;
LONG=con1 or con2 or con3;
因為實際con有30個,既然語法都一樣只是取值不同
想重複的部分都縮減成一段就好
請問可以指定一個變數=A or B or C 嗎?
根據我的理解不行,數列好像也不適合
系統好像也沒有適合的函數
邏輯打結 很困擾 請幫幫忙
謝謝
2 評論