  
- UID
- 2
- 积分
- 2914403
- 威望
- 1407234 布
- 龙e币
- 1507169 刀
- 在线时间
- 13521 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2025-3-3

|
【Text_Float】
- inputs:
- TextID( numericsimple ),
-
- TextBarsBack( numericsimple ),
-
- TextPriceValuePercent( numericsimple ) ;
- variables:
- var0( false ),
- var1( 0 ),
- var2( 0 ),
- var3( 0 ) ;
- if LastBarOnChart then
- begin
- var0 = Text_Exist( TextID ) ;
- if var0 then
- begin
- var1 = GetAppInfo( aiHighestDispValue ) ;
- var2 = GetAppInfo( aiLowestDispValue ) ;
- var3 = var2 + 0.01 * TextPriceValuePercent *
- ( var1 - var2 ) ;
- Text_SetLocation( TextID, Date[TextBarsBack], Time[TextBarsBack],
- var3 ) ;
- Text_SetStyle( TextID, 2, 2 ) ;
- end
- else
- RaiseRunTimeError( "TextID does not exist." ) ;
- end ;
- Text_Float = 1 ;
复制代码 |
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|