BeforePrice = LeftPrice; } LastTowards = LineTowards; LeftPrice = RightPrice; LeftShift = RightShift; i = LastArraySeat; } //---- return(0); } //+------------------------------------------------------------------+ int GetElectricity( int nY_Shift ) { //---- int nY_Number,nY_Pos,nY_NewPos,nY_Type; double nY_High,nY_Low,nY_Up,nY_Dn; //---- nY_Pos = nY_Shift-1; LastArraySeat = nY_Pos; LineTowards = Stroke[nY_Pos][0]; nY_High = Stroke[nY_Pos][1]; nY_Low = Stroke[nY_Pos][2]; RightShift = Stroke[nY_Pos][3]; //●笔触及超高压,代码1 if( (nY_High-nY_Low)>=(1+Delta)*HighVoltage ) { if( LineTowards>0 ) { RightPrice = nY_High; } else { RightPrice = nY_Low; } return(1); } //●非首柱笔触及高压线 if( nY_Shift<(TotalStroke-2) && (nY_High-nY_Low)>=HighVoltage ) { //且创新高或新低,绝对值为1 if( (LastTowards<0 && nY_High>BeforePrice) || (LastTowards>0 && nY_Low
缠学-线段指标的创新(MQL4)(4)
2019-04-22 13:56
缠学-线段指标的创新(MQL4)(4).doc
将本文的Word文档下载到电脑
下载失败或者文档不完整,请联系客服人员解决!