这是一段多股预警识别代码送大家参考。
If ($xj-$scj)>0 And $scj>0 Then IniWrite("Option.ini","基本设置","下单",$AA)
If ($xj-$scj)>0 And $scj>0 Then ControlSetText ( "价格预警" , "","Static21","第1股上穿")
If ($xj2-$scj2)>0 And $scj2>0 Then IniWrite("Option.ini","基本设置","下单",$AA2)
If ($xj2-$scj2)>0 And $scj2>0 Then ControlSetText ( "价格预警" , "","Static21","第2股上穿")
If ($xj3-$scj3)>0 And $scj3>0 Then IniWrite("Option.ini","基本设置","下单",$AA3)
If ($xj3-$scj3)>0 And $scj3>0 Then ControlSetText ( "价格预警" , "","Static21","第3股上穿")
If ($xj4-$scj4)>0 And $scj4>0 Then IniWrite("Option.ini","基本设置","下单",$AA4)
If ($xj4-$scj4)>0 And $scj4>0 Then ControlSetText ( "价格预警" , "","Static21","第4股上穿")
If ($xj5-$scj5)>0 And $scj5>0 Then IniWrite("Option.ini","基本设置","下单",$AA5)
If ($xj5-$scj5)>0 And $scj5>0 Then ControlSetText ( "价格预警" , "","Static21","第5股上穿")
If ($xj6-$scj6)>0 And $scj6>0 Then IniWrite("Option.ini","基本设置","下单",$AA6)
If ($xj6-$scj6)>0 And $scj6>0 Then ControlSetText ( "价格预警" , "","Static21","第6股上穿")
If ($xj7-$scj7)>0 And $scj7>0 Then IniWrite("Option.ini","基本设置","下单",$AA7)
If ($xj7-$scj7)>0 And $scj7>0 Then ControlSetText ( "价格预警" , "","Static21","第7股上穿")
If ($xj8-$scj8)>0 And $scj8>0 Then IniWrite("Option.ini","基本设置","下单",$AA8)
If ($xj8-$scj8)>0 And $scj8>0 Then ControlSetText ( "价格预警" , "","Static21","第8股上穿") |