标题:
【能量潮(On Balance Volume)】
[打印本页]
作者:
龙听
时间:
2022-11-3 14:00
标题:
【能量潮(On Balance Volume)】
inputs:
AlertLength( 14 ) ;
variables:
var0( 0 ) ;
var0 = OBV ;
Plot1( var0, "OBV" ) ;
condition1 = LowestBar( C, AlertLength ) = 0 and LowestBar( var0, AlertLength ) > 0 ;
if condition1 then
Alert( "Bullish divergence - new low not confirmed" )
else
begin
condition1 = HighestBar( C, AlertLength ) = 0 and HighestBar( var0, AlertLength ) > 0 ;
if condition1 then
Alert( "Bearish divergence - new high not confirmed" ) ;
end;
复制代码
欢迎光临 龙听期货论坛 (http://qhlt.club/)
Powered by Discuz! 7.2