想請問例如09:00、09:05、09:10......
同時間今日與昨日的量比要怎麼寫呢?謝謝
5分鐘頻率,一天有54根K棒,v[54]就是昨天同根K棒的量。
好像知道了~謝謝老師提點!!
input: _stime(090000), _etime(133000);
condition1 = v[54] < VOLume ;
condition2 = v[1] < VOLume ;
condition3 = time >= _stime and time < _etime;
If condition1 and condition2 and condition3 then
ret = 1;
請問這樣寫正確嗎?謝謝
若你指的是目前K棒的量大於昨天同時間K的量,也大於今天前一根K的量,則這樣寫OK。
4 評論