- UID
- 2
- 积分
- 2892857
- 威望
- 1396460 布
- 龙e币
- 1496397 刀
- 在线时间
- 13326 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-12-26
|
【Pivot Rev Gen - Dn】
- inputs:
- MinRStren( 1 ),
- MaxRStren( 30 ),
- LRFactor( 1 ),
- DrawLines( true ),
-
- LinesColor( Magenta ),
- PlotColor( Cyan ),
-
- ColorScheme( 1 ) ;
-
-
- variables:
- var0( 0 ),
- var1( 0 ),
- var2( 0 ) ;
- Value1 = PivotReversalGen( MinRStren, MaxRStren, LRFactor, -1, DrawLines, LinesColor,
- var0, var1, var2 ) ;
- if Value1 = 1 then
- begin
- Plot1( var0, "PivRev_Dn" ) ;
- if ColorScheme = 1 then
- SetPlotColor( 1, PlotColor )
- else if ColorScheme = 2 then
- SetPlotBGColor( 1, PlotColor ) ;
- Alert( "Pivot reversal: Lo = " + NumToStr( var0, 2 ) + ", RS = " +
- NumToStr( var1, 0 ) + ", LS = " + NumToStr( var2, 0 ) ) ;
- end ;
复制代码 |
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|