- UID
- 2
- 积分
- 2874604
- 威望
- 1387331 布
- 龙e币
- 1487273 刀
- 在线时间
- 13156 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-11-24
|
【Pivot Rev Gen - Up】
- inputs:
- MinRStren( 1 ),
- MaxRStren( 30 ),
- LRFactor( 1 ),
- DrawLines( true ),
-
- LinesColor( Red ),
- PlotColor( Yellow ),
-
- 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_Up" ) ;
- if ColorScheme = 1 then
- SetPlotColor( 1, PlotColor )
- else if ColorScheme = 2 then
- SetPlotBGColor( 1, PlotColor ) ;
- Alert( "Pivot reversal: Hi = " + NumToStr( var0, 2 ) + ", RS = " +
- NumToStr( var1, 0 ) + ", LS = " + NumToStr( var2, 0 ) ) ;
- end ;
复制代码 |
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|