1年間基準の高値更新 (WA-New High for Year) は、1年間の中での高値更新を描画します。
{ Search Tag: WA-New High for Year }
variables:
HighestHi( 0 ) ;
{ tick, second, minute, daily, weekly or monthly bars }
if BarType < 5 or BarType = 14 then
begin
if Year( Date ) <> Year( Date[1] ) then
HighestHi = High
else if High > HighestHi then
begin
Plot1( High, !( "NewHi-Y" ) ) ;
Alert ;
HighestHi = High ;
end ;
end ;
Copyright © TradeStation Technologies, Inc. All Rights Reserved
TradeStation reserves the right to modify or overwrite
this analysis technique with each release.