1.在1分鐘K當下
2.股價創當日新高,同時成交量創當日新高
4.量比 > 1,參數可以調整。
麻煩小幫手 謝謝
Hello 金牛
您可以用變數保存當日最高價和量,然後在判斷時去取上一根Bar的資訊。
另外量比也有資料欄位可以應用。
舉例來說,用在1分鐘頻率上的話:
input: _limit(1);
if date <> date[1] then begin
value1 = high;
value2 = volume;
end;
if high > value1 then value1 = high;
if volume > value2 then value2 = volume;
condition1 = high > value1[1] and volume > value2[1];
condition2 = getfield("量比") > _limit;
網站上有教學區,裡面有XS語法的基礎和應用可以閱覽。
謝謝小幫手
請問如果是創新低+成交量新高如何表示呢
策略雷達的屬性設定要怎麼設定
謝謝小幫手
3 評論