-- 作者:双保险
-- 发布时间:2013/2/27 15:20:41
-- 后台模式警报失灵
runmode:1;//序列模式
myma:=ma(close,10); myma2:=ma(close,5);
cond1:=ref(myma,1)>ref(myma,2)and ref(myma,3)>ref(myma,2) and ref(myma2,1)>=ref(myma2,2) and ref(close,1)>=ref(open,1) and ref(close,1)>ref(myma,1) and ref(close,1)>ref(myma2,1);
playsound(cond1,\'sound.wav\');DRAWTEXT(cond1 ,ref(low-2 ,2),‘up?’);
问题1:在后台没有听到警报声
问题2:文字 对齐中间位置,函数说明里面的解释是错误的align应该放在括号外面。我试了好几次,因为看到align另外一个解释是对的。DRAWTEXT的解释align是错误的。
|