【ShowLongStop】
[code]inputs: StopVal( numericsimple ) ;variables: var0( -1 ) ;
if MarketPosition = 1 then
begin
if var0 <> -1 then
Text_SetLocation( var0, Date, Time, StopVal )
else
begin
var0 = Text_New( Date, Time, StopVal, "Stop--" ) ;
Text_SetStyle( var0, 1, 2 ) ;
end ;
end
else
begin
if var0 <> -1 then
Text_Delete( var0 ) ;
var0 = -1 ;
end ;
ShowLongStop = MarketPosition ;
[/code]
页:
[1]