锘??xml version="1.0" encoding="utf-8" standalone="yes"?>
    }
)


AlanTop 2019-08-23 23:10 鍙戣〃璇勮
]]>tb 閲?#37922;?#23534;鍗曡褰?/title><link>http://www.2676208.com/alantop/archive/2019/08/20/216715.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Tue, 20 Aug 2019 04:32:00 GMT</pubDate><guid>http://www.2676208.com/alantop/archive/2019/08/20/216715.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/216715.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2019/08/20/216715.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/216715.html</wfw:commentRss><trackback:ping>http://www.2676208.com/alantop/services/trackbacks/216715.html</trackback:ping><description><![CDATA[     鎽樿:   <a href='http://www.2676208.com/alantop/archive/2019/08/20/216715.html'>闃?#29831;?#37711;ㄦ枃</a><img src ="http://www.2676208.com/alantop/aggbug/216715.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2019-08-20 12:32 <a href="http://www.2676208.com/alantop/archive/2019/08/20/216715.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>centos 7.6 鐩戞帶缃?#37719;?#23092;?#38322;?/title><link>http://www.2676208.com/alantop/archive/2019/08/13/216675.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Tue, 13 Aug 2019 13:49:00 GMT</pubDate><guid>http://www.2676208.com/alantop/archive/2019/08/13/216675.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/216675.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2019/08/13/216675.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/216675.html</wfw:commentRss><trackback:ping>http://www.2676208.com/alantop/services/trackbacks/216675.html</trackback:ping><description><![CDATA[<div>1.瀹夎</div><div>yum install iftop -y</div><div></div><div>2.鏌ョ湅缃?#37719;?#23092;?#38322;?/div><div>iftop -i eth1</div><div></div><div>3.鐩戞帶鐗?#28729;歩p鐨?#23092;?#38322;?/div><div>鐩戞帶鏌?#28051;?#37911;?#28729;欼P鐨勫甫瀹借闂儏鍐碉細</div><div>iftop -i eth1 -B -F 182.92.***.20</div><div>鏄剧ず182.92.***.20杩?#28051;狪P涓?#37832;?#37716;″櫒鐨?#32515;?#37719;th1浜?#27996;?#37928;勬暟鎹?#38322;?#38171;?#37719;?#28003;?#37828;疊yte銆?/div><div></div><div>4.閫鍑?/div><div>q</div><div></div><div>5.鏄剧ず鐣岄潰璇?#37828;庯細</div><div>"<="涓?=>"锛岃〃绀?#37928;勬槸娴?#38322;?#37928;勬?#29808;悜</div><div>"TX"?#32048;?#31904;缃?#37719;?#37721;戝嚭鐨?#23092;?#38322;?/div><div>"RX"?#32048;缃?#37719;℃帴鏀?#23092;?#38322;?/div><div>"TOTAL"?#32048;缃?#37719;?#37721;?#38315;佹帴鏀舵?#23092;?#38322;?/div><div>"cum"?#32048;iftop寮濮?#26473;?#29723;屽埌褰撳?#23942;椂闂?#37904;?#37928;勬?#23092;?#38322;?/div><div>"peak"?#32048;缃?#37719;?#23092;?#38322;忓嘲鍊?/div><div>"rates"锛氬垎鍒?#29723;?#32448;?#37832;杩?s銆?0s銆?0s 鐨勫钩鍧?#23092;?#38322;?/div><img src ="http://www.2676208.com/alantop/aggbug/216675.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2019-08-13 21:49 <a href="http://www.2676208.com/alantop/archive/2019/08/13/216675.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>tb寮鎷撹?#37922;?#32510;?/title><link>http://www.2676208.com/alantop/archive/2019/07/30/216613.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Tue, 30 Jul 2019 11:34:00 GMT</pubDate><guid>http://www.2676208.com/alantop/archive/2019/07/30/216613.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/216613.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2019/07/30/216613.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/216613.html</wfw:commentRss><trackback:ping>http://www.2676208.com/alantop/services/trackbacks/216613.html</trackback:ping><description><![CDATA[<div>PlotString ("demo","▽▽▲▼",high*1.2,Red);</div><img src ="http://www.2676208.com/alantop/aggbug/216613.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2019-07-30 19:34 <a href="http://www.2676208.com/alantop/archive/2019/07/30/216613.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>tb 寮鎷撹?璺ㄥ懆鏈熷簲鐢?/title><link>http://www.2676208.com/alantop/archive/2019/07/25/216604.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Thu, 25 Jul 2019 09:23:00 GMT</pubDate><guid>http://www.2676208.com/alantop/archive/2019/07/25/216604.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/216604.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2019/07/25/216604.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/216604.html</wfw:commentRss><trackback:ping>http://www.2676208.com/alantop/services/trackbacks/216604.html</trackback:ping><description><![CDATA[<div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->Params<br /><span style="color: #008000; ">//</span><span style="color: #008000; ">姝?#28598;勬坊鍔?#37721;傛暟</span><span style="color: #008000; "><br /></span><br />Vars<br />Numeric ma1;<br />Numeric ma2;<br /><span style="color: #0000FF; ">bool</span>    boollong;<br /><span style="color: #0000FF; ">bool</span>    boolshort;<br /><span style="color: #0000FF; ">bool</span>    condition1;<br />Bool    condition2;<br />Begin<br />data0.ma1 =data0.Average(data0.close,5);<br />data0.ma2 =data0.Average(data0.close,20);<br /><br /><br />data0.PlotNumeric("data0.ma1",data0.ma1);<br />data0.PlotNumeric("data0.ma2",data0.ma2);<br />data1.PlotNumeric("data1.ma1",data0.ma1);<br />data1.PlotNumeric("data1.ma2",data0.ma2);<br /><br />data0.boollong =data0.CrossOver(data0.ma1,data0.ma2);<br />data0.boolshort =data0.Crossunder(data0.ma1,data0.ma2);<span style="color: #008000; ">//</span><span style="color: #008000; ">澶у懆鏈?#23534;浠撴潯浠?/span><span style="color: #008000; "><br /></span><br />data1.condition1;<span style="color: #008000; ">//</span><span style="color: #008000; "> =</span><span style="color: #008000; "><br /></span>data1.condition2;<span style="color: #008000; ">//</span><span style="color: #008000; "> =灏忓懆鏈?#23534;浠撴潯浠?/span><span style="color: #008000; "><br /></span>If(data0.boollong anddata1.condition1 anddata1.MarketPosition<>1)<br />{<br />data1.buy(1,data1.open);<br />}<br /><span style="color: #0000FF; ">if</span>(data[0].boolshort anddata1.condition2 anddata1.MarketPosition<>-1)<br />{<br />data1.sell(1,data1.open);<br />}<br />End</div><img src ="http://www.2676208.com/alantop/aggbug/216604.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2019-07-25 17:23 <a href="http://www.2676208.com/alantop/archive/2019/07/25/216604.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>tb璺ㄥ懆鏈?#37713;芥暟http://www.2676208.com/alantop/archive/2019/07/19/216571.htmlAlanTopAlanTopFri, 19 Jul 2019 14:26:00 GMThttp://www.2676208.com/alantop/archive/2019/07/19/216571.htmlhttp://www.2676208.com/alantop/comments/216571.htmlhttp://www.2676208.com/alantop/archive/2019/07/19/216571.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/216571.htmlhttp://www.2676208.com/alantop/services/trackbacks/216571.html
//------------------------------------------------------------------------
// 绠绉? k_Bar
// 鍚嶇О: 璺ㄥ懆鏈?#37713;芥暟--鍩虹BAR?#26271;鎹?br />// 绫?#37714;? 鐢ㄦ埛鍑芥暟
// 绫诲瀷: 鐢ㄦ埛鍑芥暟
// 杈?#37713;? ?#26271;鍊煎瀷
//------------------------------------------------------------------------


Params 
    Numeric TimeFrame(
1440);    
        
// 鐩爣鏃?#38338;村懆鏈燂細?#23516;鏈?#32510;?4?#25030;锛?0320)锛屽懆绾?7澶?10080)锛?#37827;?#32510;?24灏?#37827;?#38171;?440锛?br />        // 鍏朵粬鏃?#37712;?#37928;勫懆鏈熺瓑浜?#37929;稿簲鐨勫垎?#25363;?#26271;锛屽?#20646;細1灏?#37827;?60锛?nbsp;30?#22414;?#25363;=30銆?#37510;?#37510;?br />        // 1?#22414;閽熷浘琛?#38171;?#37824;?#37816;?#28051;?#29785;勫垯?#22414;?#25363;?#26271;锛屽3?#22414;?#25363;銆??#22414;?#25363;銆?4?#22414;閽熺瓑
        
    Numeric BarsBack(
0); 
        
// 鐩爣鏃?#38338;村懆鏈烞AR鍋忕?#20249;細
        
// 1--琛?#32448;?#35120;撳墠?#25030;鏈?#28051;?#37928;?#35120;撳墠BAR瀵瑰簲鐩爣?#25030;鏈?#37928;勫墠涓鏍笲AR
        
// 0--琛?#32448;?#35120;撳墠?#25030;鏈?#28051;?#37928;?#35120;撳墠BAR瀵瑰簲鐩爣?#25030;鏈?#37928;?#35120;撳墠BAR鎴?#23005;㈠埌鐩墠涓烘鐨凚AR?#26271;鎹?#37706;?/span>

Vars
    Numeric TradeDate;                
// 褰撳墠K绾?#28729;?#38340;?#27996;?#37828;撴棩鏈?#38171;?#28051;昏瑙?#37712;?#28598;?#37929;?#38338;锛?/span>
    Numeric TradeHour;                // 褰撳墠K绾?#28729;?#38340;?#27996;?#37828;撴椂闂?#38171;?#28751;?#37827;?#38171;?/span>
    Numeric TradeMinute;            // 褰撳墠K绾?#28729;?#38340;?#27996;?#37828;撴椂闂?#38171;堝垎?#25363;锛?/span>
    NumericSeries Index;            // 褰撳墠BAR鍦═imeFrame鏃?#38338;村懆鏈?#28051;?#37928;勭儲寮?#37706;?/span>
    Numeric SessionStartHour;        // 褰撳墠K绾?#28729;?#38340;?#37928;?#27996;?#37828;撴棩鐨勭涓鑺?#27996;?#37828;?#37928;勮搗濮?#37827;?#38338;?#38171;?#28751;?#37827;?#38171;?/span>


    NumericSeries barCnt;            
// 璇?#37721;?#37929;爣?#25030;鏈?#28051;?#28051;鏍笲AR鐨勬暟鎹?#37734;?#35120;撳墠?#25030;鏈?#28051;嬮渶瑕?#37733;?#23143;?#37928;凚AR?#26271;
    NumericSeries Ht_CurBar;        // 褰撳墠BAR鍦?#37929;爣?#25030;鏈?#28051;?#28725;瑰簲鐨凜urrentBar
    Numeric barCntSum;                 // 涓存椂鍙?#38322;?#38171;?#26473;?#37733;?#37929;爣?#25030;鏈熸暟鎹渶瑕?#37733;?#23143;?#37928;凚AR?#26271;
    NumericSeries Ht_Open;            // 鐩爣鏃?#38338;村懆鏈?#37928;?#23534;鐩?#28000;?/span>
    NumericSeries Ht_High;            // 鐩爣鏃?#38338;村懆鏈?#37928;?#37832;楂?#28000;?/span>
    NumericSeries Ht_Low;            // 鐩爣鏃?#38338;村懆鏈?#37928;?#37832;浣?#28000;?/span>
    NumericSeries Ht_Close;            // 鐩爣鏃?#38338;村懆鏈?#37928;勬敹鐩?#28000;?/span>
    NumericSeries Ht_Vol;            // 鐩爣鏃?#38338;村懆鏈?#37928;勬垚浜?#38322;?/span>
    NumericSeries Ht_OpenInt;        // 鐩爣鏃?#38338;村懆鏈?#37928;勬寔浠?#38322;?/span>
    bool condition(false);            // 鍒?#37826;?#37734;?#37929;爣鏃?#38338;?#37828;?#37722;﹀睘浜?#28051;?#37722;屾?#31538;AR
    Numeric i;
    
Begin

     TradeDate 
= TrueDate(0);         // 鍙?#28729;?#38340;?#27996;?#37828;撴棩鏈?br />
    
// 鏍?#37817;甌imeFrame?#22414;鍒?#28598;勭悊
    If(TimeFrame == 40320)            // 鏈?#32510;?/span>
    {
        Index 
= (YearFromDateTime(TradeDate) - 1970* 12 + MonthFromDateTime(TradeDate);
    }
    Else If(TimeFrame 
== 10080)        // ?#25030;绾?/span>
    {
        Index 
= IntPart(DateDiff(19700105,TradeDate)/7);
    }
    Else If(TimeFrame 
== 1440)        // 鏃?#32510;?/span>
    {
        Index 
= DateDiff(19700105,TradeDate);
    }
    Else
    {
        TradeHour 
= HourFromDateTime(Time);
        TradeMinute 
= MinuteFromDateTime(Time);

        
// 鍙?#35120;撳墠?#25639;绉?#38171;?#32471;?#28051;鑺?#27996;?#37828;?#37928;?#23534;濮?#28751;?#37827;舵暟
        SessionStartHour = IntPart(GetSessionStartTime(0)*100);

        
// 瑙?#37712;?灏?#37827;?#37733;?#37928;勬椂闂?#37714;掑垎姣?#26440;?#37911;规畩闂
        If(TimeFrame == 240) SessionStartHour = IIF(SessionStartHour == 21,20,8);
        
        
// ?#23516;褰撳墠BAR瀵瑰簲鏃?#38338;?#38171;岄櫎浠imeFrame鐨勫垎?#25363;?#26271;锛屽緱?#22476;鐨勫晢涓虹儲寮?#37706;?#38171;?#32497;?#23534;?#37706;?#37929;?#37722;?#37928;勫湪澶у懆鏈?#28051;婂睘浜?#37722;?#28051;鏍笲AR
        Index = DateDiff(19700105,TradeDate) * (IntPart(1439/TimeFrame)+1+ IntPart((IIF(TradeHour >= SessionStartHour, TradeHour - SessionStartHour,
        TradeHour 
+ 24 - SessionStartHour) * 60 + TradeMinute)/TimeFrame);
    }

    
// 绱?#23534;?#37706;?#28051;?#37722;?#37928;?#38171;屽垯璇?#37828;庡睘浜?#28051;?#37722;孊AR
    condition = Index <> Index[1];

    If(CurrentBar
==0)                // 濡傛灉鏄?#32471;?#28051;鏍笲ar, Ht_CurBar=0
    {
        barCnt 
= 0;
        Ht_CurBar 
= 0;
        Ht_Open 
= Open;
        Ht_High 
= High;
        Ht_Low 
= Low;
        Ht_Close 
= Close;
        Ht_Vol 
= Vol;
        Ht_OpenInt 
= OpenInt;
    }
    Else
    {
        If(Condition)              
        
// 濡傛灉鍦?#37929;爣?#25030;鏈?#28051;?#38171;屽睘浜?#37721;?#28051;鏍筀绾?#38171;屽垯Ht_CurBar鍔?
        {
            barCnt 
= 1;
            Ht_CurBar 
= Ht_CurBar[1+ 1;
            Ht_Open 
= Open;
            Ht_High 
= High;
            Ht_Low 
= Low;
            Ht_Vol 
= Vol;
        }
        Else
        
// 濡傛灉鍦?#37929;爣?#25030;鏈?#28051;?#38171;屽睘浜?#37722;?#28051;鏍筀绾?#38171;屽垯Ht_CurBar涓?#37721;?#38171;?#28003;?#37832;楂?#28000;峰拰鏈浣?#28000;?#29781;佽褰?#28000;?#37837;?#37928;?#37721;樺寲锛屾垚浜?#38322;?#29781;?#32497;?#37716;?/span>
        {
            barCnt 
= barCnt[1+ 1;
            Ht_High 
= Max(Ht_High[1],High);
            Ht_Low 
= Min(Ht_Low[1],Low);
            Ht_Vol 
= Ht_Vol[1+ Vol;
        }
        
// 鏀?#37929;?#28000;峰?#23678;寔浠?#38322;?#37804;?#37828;?#37721;?#37832;鏂?#37706;?/span>
        Ht_Close = Close;
        Ht_OpenInt 
= OpenInt;
    }

//    FileAppend("c:\\qqqq.txt","DT="+Text(Date+Time)+" Index="+Text(Index)+" CurrentBar="+Text(CurrentBar)+" barCnt="+text(barCnt)+" Ht_CurBar="+text(Ht_CurBar)+" Ht_Open="+text(Ht_Open)+" Ht_High="+text(Ht_High)
//    +" Ht_Low="+Text(Ht_Low)+" Ht_Close="+Text(Ht_Close)+" Ht_Vol="+Text(Ht_Vol)+" Ht_OpenInt="+Text(Ht_OpenInt));
    
    
// ?#22688;?#28528;鍦?#35120;撳墠?#25030;鏈?#37928;勬?#24532;?#31538;AR锛岃褰?#27996;?#28729;?#28725;瑰簲鐨?#37929;爣鏃?#38338;村懆鏈?#37928;?#23534;楂?#28003;庢敹?#29905;?#26271;鎹?#37510;?br />    // ?#24116;涓?#37833;?#37814;?#23011;忔?#31538;AR瀵瑰簲鐨勬暟鎹?#26473;?#37733;炵粰璋?#37922;?#37832;?#37713;芥暟鐨?#37711;?#23534;?#38171;?#38315;?#26473;?#37711;?#28766;鍙?#38322;?#38171;?/span>
    barCntSum = barCnt ;
    If(BarsBack 
== 0)
    
// 濡傛灉BarsBack涓?锛屽垯褰撳墠BAR璁?#35120;?#37928;勬槸褰撳墠BAR鎵瀵瑰簲鐩爣?#25030;鏈?#37928;?#35120;撳墠BAR鎴?#23005;㈠埌鐩墠涓烘鐨凚AR?#26271;鎹?#37706;?/span>
    {
        barCntSum 
= 0 ;
    }
    
// 濡傛灉BarsBack涓?锛屽垯褰撳墠BAR璁?#35120;?#37928;勬槸褰撳墠BAR鎵瀵瑰簲鐩爣?#25030;鏈?#37928;勫墠涓鏍笲AR鐨勬暟鎹?#37706;?/span>
    Else
    {
        barCntSum 
= barCnt ;
    }

    
// 灏?#37929;爣鏃?#38338;村懆鏈?#28051;?#37928;凚AR?#26271;鎹?#37712;?#37711;?#37711;?#28766;鍙?#38322;?#26473;?#37733;?#29835;?#37922;?#37711;?#23534;?/span>
    SetGlobalVar2("Ht_curbar",Ht_CurBar);
    SetGlobalVar2(
"Ht_open",Ht_Open[barCntSum]);
    SetGlobalVar2(
"Ht_high",Ht_High[barCntSum]);
    SetGlobalVar2(
"Ht_low",Ht_Low[barCntSum]);
    SetGlobalVar2(
"Ht_close",Ht_Close[barCntSum]);
    SetGlobalVar2(
"Ht_vol",Ht_Vol[barCntSum]);
    SetGlobalVar2(
"Ht_openInt",Ht_OpenInt[barCntSum]);

    
// 灏?#29831;?#37721;?#28598;у懆鏈熸暟鎹?#37928;勫洖婧疊AR?#26271;浣?#28051;?#37713;芥暟鐨勮繑鍥?#37706;?#26473;?#37733;?/span>
    Return barCnt;
    
End


 
/* 
Params 
    Numeric TimeFrame(1440);    
        // 鐩爣鏃?#38338;村懆鏈燂細?#23516;鏈?#32510;?4?#25030;锛?0320)锛屽懆绾?7澶?10080)锛?#37827;?#32510;?24灏?#37827;?#38171;?440锛?br />        // 鍏朵粬鏃?#37712;?#37928;勫懆鏈熺瓑浜?#37929;稿簲鐨勫垎?#25363;?#26271;锛屽?#20646;細1灏?#37827;?60锛?nbsp;30?#22414;?#25363;=30銆?#37510;?#37510;?br />        // 1?#22414;閽熷浘琛?#38171;?#37824;?#37816;?#28051;?#29785;勫垯?#22414;?#25363;?#26271;锛屽3?#22414;?#25363;銆??#22414;?#25363;銆?4?#22414;閽熺瓑
        
    Numeric BarsBack(0); 
        // 鐩爣鏃?#38338;村懆鏈烞AR鍋忕?#20249;細
        // 1--琛?#32448;?#35120;撳墠?#25030;鏈?#28051;?#37928;?#35120;撳墠BAR瀵瑰簲鐩爣?#25030;鏈?#37928;勫墠涓鏍笲AR
        // 0--琛?#32448;?#35120;撳墠?#25030;鏈?#28051;?#37928;?#35120;撳墠BAR瀵瑰簲鐩爣?#25030;鏈?#37928;?#35120;撳墠BAR鎴?#23005;㈠埌鐩墠涓烘鐨凚AR?#26271;鎹?#37706;?br />
Vars
    Numeric TradeDate;                // 褰撳墠K绾?#28729;?#38340;?#27996;?#37828;撴棩鏈?#38171;?#28051;昏瑙?#37712;?#28598;?#37929;?#38338;锛?br />    Numeric TradeHour;                // 褰撳墠K绾?#28729;?#38340;?#27996;?#37828;撴椂闂?#38171;?#28751;?#37827;?#38171;?br />    Numeric TradeMinute;            // 褰撳墠K绾?#28729;?#38340;?#27996;?#37828;撴椂闂?#38171;堝垎?#25363;锛?br />    NumericSeries Index;            // 褰撳墠BAR鍦═imeFrame鏃?#38338;村懆鏈?#28051;?#37928;勭儲寮?#37706;?br />    Numeric SessionStartHour;        // 褰撳墠K绾?#28729;?#38340;?#37928;?#27996;?#37828;撴棩鐨勭涓鑺?#27996;?#37828;?#37928;勮搗濮?#37827;?#38338;?#38171;?#28751;?#37827;?#38171;?br />

    NumericSeries barCnt;            // 璇?#37721;?#37929;爣?#25030;鏈?#28051;?#28051;鏍笲AR鐨勬暟鎹?#37734;?#35120;撳墠?#25030;鏈?#28051;嬮渶瑕?#37733;?#23143;?#37928;凚AR?#26271;
    NumericSeries Ht_CurBar;        // 褰撳墠BAR鍦?#37929;爣?#25030;鏈?#28051;?#28725;瑰簲鐨凜urrentBar
    Numeric barCntSum;                 // 涓存椂鍙?#38322;?#38171;?#26473;?#37733;?#37929;爣?#25030;鏈熸暟鎹渶瑕?#37733;?#23143;?#37928;凚AR?#26271;
    NumericSeries Ht_Open;            // 鐩爣鏃?#38338;村懆鏈?#37928;?#23534;鐩?#28000;?br />    NumericSeries Ht_High;            // 鐩爣鏃?#38338;村懆鏈?#37928;?#37832;楂?#28000;?br />    NumericSeries Ht_Low;            // 鐩爣鏃?#38338;村懆鏈?#37928;?#37832;浣?#28000;?br />    NumericSeries Ht_Close;            // 鐩爣鏃?#38338;村懆鏈?#37928;勬敹鐩?#28000;?br />    NumericSeries Ht_Vol;            // 鐩爣鏃?#38338;村懆鏈?#37928;勬垚浜?#38322;?br />    NumericSeries Ht_OpenInt;        // 鐩爣鏃?#38338;村懆鏈?#37928;勬寔浠?#38322;?br />    bool condition(false);            // 鍒?#37826;?#37734;?#37929;爣鏃?#38338;?#37828;?#37722;﹀睘浜?#28051;?#37722;屾?#31538;AR
    Numeric i;
    
Begin

     TradeDate = TrueDate(0);         // 鍙?#28729;?#38340;?#27996;?#37828;撴棩鏈?br />
    // 鏍?#37817;甌imeFrame?#22414;鍒?#28598;勭悊
    If(TimeFrame == 40320)            // 鏈?#32510;?br />    {
        Index = (YearFromDateTime(TradeDate) - 1970) * 12 + MonthFromDateTime(TradeDate);
    }
    Else If(TimeFrame == 10080)        // ?#25030;绾?br />    {
        Index = IntPart(DateDiff(19700105,TradeDate)/7);
    }
    Else If(TimeFrame == 1440)        // 鏃?#32510;?br />    {
        Index = DateDiff(19700105,TradeDate);
    }
    Else
    {
        TradeHour = HourFromDateTime(Time);
        TradeMinute = MinuteFromDateTime(Time);

        // 鍙?#35120;撳墠?#25639;绉?#38171;?#32471;?#28051;鑺?#27996;?#37828;?#37928;?#23534;濮?#28751;?#37827;舵暟
        SessionStartHour = IntPart(GetSessionStartTime(0)*100);
        
        // ?#23516;褰撳墠BAR瀵瑰簲鏃?#38338;?#38171;岄櫎浠imeFrame鐨勫垎?#25363;?#26271;锛屽緱?#22476;鐨勫晢涓虹儲寮?#37706;?#38171;?#32497;?#23534;?#37706;?#37929;?#37722;?#37928;勫湪澶у懆鏈?#28051;婂睘浜?#37722;?#28051;鏍笲AR
        Index = DateDiff(19700105,TradeDate) * (IntPart(1440/TimeFrame)+1) + IntPart((IIF(TradeHour >= SessionStartHour, TradeHour - SessionStartHour,TradeHour + 24 - SessionStartHour) * 60 + TradeMinute)/TimeFrame);
    }

    // 绱?#23534;?#37706;?#28051;?#37722;?#37928;?#38171;屽垯璇?#37828;庡睘浜?#28051;?#37722;孊AR
    condition = Index <> Index[1];

    If(CurrentBar==0)                // 濡傛灉鏄?#32471;?#28051;鏍笲ar, Ht_CurBar=0
    {
        barCnt = InvalidNumeric;
        Ht_CurBar = InvalidNumeric;
        Ht_Open = InvalidNumeric;
        Ht_High = InvalidNumeric;
        Ht_Low = InvalidNumeric;
        Ht_Close = InvalidNumeric;
        Ht_Vol = InvalidNumeric;
        Ht_OpenInt = InvalidNumeric;
    }
    Else
    {
        If(Condition)              
        // 濡傛灉鍦?#37929;爣?#25030;鏈?#28051;?#38171;屽睘浜?#37721;?#28051;鏍筀绾?#38171;屽垯Ht_CurBar鍔?
        {
            If(Ht_CurBar[1] == InvalidNumeric)
            {
                Ht_CurBar = 0;
            }
            Else
            {
                Ht_CurBar = Ht_CurBar[1] + 1;
            }
            barCnt = 1;
            Ht_Open = Open;
            Ht_High = High;
            Ht_Low = Low;
            Ht_Vol = Vol;
        }
        Else
        // 濡傛灉鍦?#37929;爣?#25030;鏈?#28051;?#38171;屽睘浜?#37722;?#28051;鏍筀绾?#38171;屽垯Ht_CurBar涓?#37721;?#38171;?#28003;?#37832;楂?#28000;峰拰鏈浣?#28000;?#29781;佽褰?#28000;?#37837;?#37928;?#37721;樺寲锛屾垚浜?#38322;?#29781;?#32497;?#37716;?br />        {
            If(Ht_CurBar[1] <> InvalidNumeric)
            {
                barCnt = barCnt[1] + 1;
                Ht_High = Max(Ht_High[1],High);
                Ht_Low = Min(Ht_Low[1],Low);
                Ht_Vol = Ht_Vol[1] + Vol;
            }
        }
        // 鏀?#37929;?#28000;峰?#23678;寔浠?#38322;?#37804;?#37828;?#37721;?#37832;鏂?#37706;?br />        If(Ht_CurBar <> InvalidNumeric)
        {
            Ht_Close = Close;
            Ht_OpenInt = OpenInt;
        }
    }
    
    //Commentary("barCnt = "+Text(barCnt));
    //Commentary("Ht_CurBar="+text(Ht_CurBar));
    
    //FileAppend("c:\\qqqq.txt","DT="+Text(Date+Time)+" Index="+Text(Index)+" CurrentBar="+Text(CurrentBar)+" barCnt="+text(barCnt)+" Ht_CurBar="+text(Ht_CurBar)+" Ht_Open="+text(Ht_Open)+" Ht_High="+text(Ht_High)
    //+" Ht_Low="+Text(Ht_Low)+" Ht_Close="+Text(Ht_Close)+" Ht_Vol="+Text(Ht_Vol)+" Ht_OpenInt="+Text(Ht_OpenInt));
    
    // ?#22688;?#28528;鍦?#35120;撳墠?#25030;鏈?#37928;勬?#24532;?#31538;AR锛岃褰?#27996;?#28729;?#28725;瑰簲鐨?#37929;爣鏃?#38338;村懆鏈?#37928;?#23534;楂?#28003;庢敹?#29905;?#26271;鎹?#37510;?br />    // ?#24116;涓?#37833;?#37814;?#23011;忔?#31538;AR瀵瑰簲鐨勬暟鎹?#26473;?#37733;炵粰璋?#37922;?#37832;?#37713;芥暟鐨?#37711;?#23534;?#38171;?#38315;?#26473;?#37711;?#28766;鍙?#38322;?#38171;?br />    barCntSum = barCnt ;
    If(BarsBack == 0)
    // 濡傛灉BarsBack涓?锛屽垯褰撳墠BAR璁?#35120;?#37928;勬槸褰撳墠BAR鎵瀵瑰簲鐩爣?#25030;鏈?#37928;?#35120;撳墠BAR鎴?#23005;㈠埌鐩墠涓烘鐨凚AR?#26271;鎹?#37706;?br />    {
        barCntSum = 0 ;
    }
    // 濡傛灉BarsBack涓?锛屽垯褰撳墠BAR璁?#35120;?#37928;勬槸褰撳墠BAR鎵瀵瑰簲鐩爣?#25030;鏈?#37928;勫墠涓鏍笲AR鐨勬暟鎹?#37706;?br />    Else
    {
        barCntSum = barCnt ;
    }

    // 灏?#37929;爣鏃?#38338;村懆鏈?#28051;?#37928;凚AR?#26271;鎹?#37712;?#37711;?#37711;?#28766;鍙?#38322;?#26473;?#37733;?#29835;?#37922;?#37711;?#23534;?br />    SetGlobalVar2("Ht_curbar",Ht_CurBar);
    SetGlobalVar2("Ht_open",Ht_Open[barCntSum]);
    SetGlobalVar2("Ht_high",Ht_High[barCntSum]);
    SetGlobalVar2("Ht_low",Ht_Low[barCntSum]);
    SetGlobalVar2("Ht_close",Ht_Close[barCntSum]);
    SetGlobalVar2("Ht_vol",Ht_Vol[barCntSum]);
    SetGlobalVar2("Ht_openInt",Ht_OpenInt[barCntSum]);

    // 灏?#29831;?#37721;?#28598;у懆鏈熸暟鎹?#37928;勫洖婧疊AR?#26271;浣?#28051;?#37713;芥暟鐨勮繑鍥?#37706;?#26473;?#37733;?br />    Return barCnt;
    
End 
*/




AlanTop 2019-07-19 22:26 鍙戣〃璇勮
]]>
frp鍐?#32515;?#32460;?#38315;?#26473;滅▼杩炴帴http://www.2676208.com/alantop/archive/2019/07/17/216561.htmlAlanTopAlanTopWed, 17 Jul 2019 03:07:00 GMThttp://www.2676208.com/alantop/archive/2019/07/17/216561.htmlhttp://www.2676208.com/alantop/comments/216561.htmlhttp://www.2676208.com/alantop/archive/2019/07/17/216561.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/216561.htmlhttp://www.2676208.com/alantop/services/trackbacks/216561.html鏈?#37716;″櫒 centos 7.6
瀹㈡埛鏈?windows 10

鏈?#37716;″櫒绔?#38320;嶇疆?#26499;浠?frps.ini

# 缂?#26440;?#38320;嶇疆?#26499;浠?nbsp;
# frps.ini
#閫?#37922;?#29825;?#32515;?/div>
[common]
# frp 鐩戝惉鍦?#37735;
bind_port = 7000
#璁?#38338;?#28729;㈡埛绔痺eb鏈?#37716;?#38007;?#28729;氫箟鐨勭鍙?#37721;?nbsp;
vhost_http_port = 8110
#閾炬帴鍙?#28000;?/div>
token = 12345678
#frp ?#24118;鍒堕潰鏉?/div>
dashboard_port = 7500
# dashboard 鐢ㄦ埛鍚?#28725;嗙爜鍙?#38315;?#38171;岄?#27199;閮?#28051;?admin
dashboard_user = admin
dashboard_pwd = admin

鏈?#37716;″櫒绔?#26473;?#29723;?./frps -c frps.ini
杩滅▼绠$?#21979;?#30008;潰 http://ip:7500/
瀹㈡埛绔?#38320;嶇疆?#26499;浠?/div>
 # 閫?#37922;?#38320;嶇疆
    [common]
    # 鏈?#37716;″櫒绔?#37734;?#37735; 涔?#37721;?#28000;ュ~鍐?#37737;熷悕
    server_addr = 47.103.128.154
    # 鏈?#37716;″櫒绔?#37721;?/div>
    server_port = 7000 
    # 鎺?#37833;僼oken 瑕?#28051;?#37832;?#37716;″櫒绔?#28051;鑷?/div>
    token = 12345678
    
    
    #鍐?#32515;?#32460;?#38315;忔?#24874;緵鏈?#37734;版暟鎹?#25652;撶粰鍒?#27996;?#29825;?#38338;?/div>
   [tcp3389]
   type = tcp
   local_ip = 10.2.3.110
   #鏈?#37734;扮鍙?/div>
   local_port = 3389
   #杩滅?#23340;鍙?/div>
   remote_port =3389
   
瀹㈡埛绔?#26473;?#29723;?nbsp;frpc.exe -c frpc.ini




AlanTop 2019-07-17 11:07 鍙戣〃璇勮
]]>python3 閫?#26473;噒cp杩滅▼?#24118;鍒?#37832;?#37716;″櫒鎵?#29723;屽懡浠?/title><link>http://www.2676208.com/alantop/archive/2019/07/10/216527.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Wed, 10 Jul 2019 08:28:00 GMT</pubDate><guid>http://www.2676208.com/alantop/archive/2019/07/10/216527.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/216527.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2019/07/10/216527.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/216527.html</wfw:commentRss><trackback:ping>http://www.2676208.com/alantop/services/trackbacks/216527.html</trackback:ping><description><![CDATA[<div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%; word-break: break-all;"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #0000FF; ">import</span> socketserver<br /><span style="color: #0000FF; ">import</span> os<br /><br /><span style="color: #0000FF; ">def</span> execCmd(cmd):  <br />    r = os.popen(cmd)  <br />    text = r.read()  <br />    r.close()  <br />    <span style="color: #0000FF; ">return</span> text  <br /><br /> <br /><span style="color: #008000; ">#</span><span style="color: #008000; "> 鑷?#28729;氫箟绫绘潵瀹炵幇閫氫俊寰?#37916;?/span><span style="color: #008000; "><br /></span><span style="color: #0000FF; ">class</span> MyTCPHandler(socketserver.BaseRequestHandler):<br />    <span style="color: #008000; ">#</span><span style="color: #008000; "> 蹇?#26916;?#37712;?#37711;andle鏂规硶锛屽?#34425;?#23342;?#28844;帴鏃朵細鑷?#37716;?#37813;?#29723;宧andle鏂规硶</span><span style="color: #008000; "><br /></span>    <span style="color: #0000FF; ">def</span> handle(self):<br />        <span style="color: #0000FF; ">while</span> True:<br />            <span style="color: #0000FF; ">try</span>:<br />                data = self.request.recv(1024)<br />                <span style="color: #0000FF; ">if</span> <span style="color: #0000FF; ">not</span> data: <span style="color: #0000FF; ">break</span><br />                <span style="color: #0000FF; ">print</span>(<span style="color: #800000; ">'</span><span style="color: #800000; ">->client:</span><span style="color: #800000; ">'</span>, data)<br />                <span style="color: #008000; ">#</span><span style="color: #008000; ">os.system(data.decode('utf-8'))</span><span style="color: #008000; "><br /></span>                macd = execCmd(data.decode(<span style="color: #800000; ">'</span><span style="color: #800000; ">utf-8</span><span style="color: #800000; ">'</span>))<br />                self.request.send(macd.encode(<span style="color: #800000; ">'</span><span style="color: #800000; ">utf-8</span><span style="color: #800000; ">'</span>))<br />            <span style="color: #0000FF; ">except</span> ConnectionResetError:<br />                <span style="color: #0000FF; ">break</span><br />        self.request.close()<br /><br /><span style="color: #0000FF; ">if</span> <span style="color: #800080; ">__name__</span> == <span style="color: #800000; ">'</span><span style="color: #800000; ">__main__</span><span style="color: #800000; ">'</span>:<br />    server = socketserver.ThreadingTCPServer((<span style="color: #800000; ">'</span><span style="color: #800000; ">127.0.0.1</span><span style="color: #800000; ">'</span>, 8080), MyTCPHandler)<br />    server.serve_forever()  <span style="color: #008000; ">#</span><span style="color: #008000; "> 閾炬帴寰?#37916;?/span><span style="color: #008000; "><br /></span></div></div><img src ="http://www.2676208.com/alantop/aggbug/216527.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2019-07-10 16:28 <a href="http://www.2676208.com/alantop/archive/2019/07/10/216527.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>windows server 2012婵娲?#37826;规硶http://www.2676208.com/alantop/archive/2019/07/09/216522.htmlAlanTopAlanTopTue, 09 Jul 2019 06:03:00 GMThttp://www.2676208.com/alantop/archive/2019/07/09/216522.htmlhttp://www.2676208.com/alantop/comments/216522.htmlhttp://www.2676208.com/alantop/archive/2019/07/09/216522.html#Feedback0http://www.2676208.com/alantop/comments/commentRss/216522.htmlhttp://www.2676208.com/alantop/services/trackbacks/216522.htmlwindows server 2012涓嬭浇鍦?#37735;
https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2
杩欐潯鍛?#28000;?#37828;?#26462;?#37817;?#37812;愭爣鍑?#37911;?#37832;細
DISM /online /Set-Edition:ServerStandard /AcceptEula /ProductKey:NH3KG-P864D-XYCJH-82DMH-4CX8M
鏈?#37716;″櫒灏?#38322;?#37722;?#28051;ゆ
Windows Server 2012 R2 Retail Key?#32048;浜哄搧搴忓垪鍙?/div>
[Key]?#32048;NH3KG-P864D-XYCJH-82DMH-4CX8M -- Standard 锛?#37721;?#28000;?#23157;娲?#38171;?/div>
[Key]?#32048;KPXD3-FDN73-2XYRP-9GCRW-TQ6PB -- Standard
[Key]?#32048;TPQN8-XRYYC-VDRQ8-9XK7F-TVHJM -- Standard
[key ]:NB4WH-BBBYV-3MPPC-9RCMV-46XCB-- Standard
[Key]: M98WF-NY2PP-73243-PC8R6-V6B4Y -- Standard
[Key]: MR88Y-BXNRY-VH3DR-349CB-3GK8M -- Standard
[Key]: M89WF-NY2PP-73243-PC8R6-V6B4Y -- Standard
(windows server 2012婵娲?#37934;? 瀵嗛挜?#32048;
 
銆銆Windows Server 2012 Foundation
 
銆銆RTMNG-7K8HQ-3QVVW-W8QKF-Q9H7D --- 00185-00477-08754-AAOEM
 
銆銆VXHGK-GRJQH-K7WVN-MTXP3-YBFHM --- 00185-65247-05792-ABOEM
 
銆銆BDCBV-BQ27P-9PNJJ-BQJ96-KTJ3Y --- 00185-61015-53182-ABOEM
 
銆銆Windows Server 2012 Essentials
 
銆銆MXHGN-GRJQH-K7WVV-MTXP3-YBFHT --- 00186-00000-00000-AAOEM
 
銆銆JXHGK-GRJQH-N7WVV-MTXP3-YBFHT --- 00186-08304-72192-ABOEM
 
銆銆Windows Server 2012 Standard
 
銆銆VDNYM-JBKJ7-DC4X9-BT3QR-JHRGY --- 00184-00070-00000-AAOEM
 
銆銆BNHD9-KT7MY-4BX83-HTGM4-3C77J --- 00185-48475-45056-AAOEM
 
銆銆Windows Storage Server 2012 Standard
 
銆銆DXHGK-GRJQH-K7WVV-NTXP3-YBFGG --- 00182-85373-02912-ABOEM
 
銆銆Windows Server 2012 Datacenter
 
銆銆B7RRX-RVN4P-PCPBM-89D8Y-X4PQH --- 00184-50100-21572-AAOEM
 
銆銆Q8MTR-F2N87-JPQ4C-8CFK9-C7HJM
 
銆銆HK69K-3N8Y2-VB2XH-4HYGY-CWDWM
 
銆銆W689N-TPP83-V2Q42-683JR-X2C2B
 
銆銆Windows Server 2012 R2 Preview 鐜板湪鏀?#37816;?#28051;?#32457;嶆縺娲?#37826;?#23534;忥細
 
銆銆?#26271;鎹?#28051;?#36423;?#27996;у搧瀵嗛挜?#32048;
 
銆銆JGXYY-7NMTC-MHKY3-QCC9B-VQRG7
 
銆銆Datacenter Server 鐨勮嚜鍔ㄨ櫄鎷?#37832;烘縺娲?(AVMA) 瀵嗛挜?#32048;
 
銆銆XVNRV-9HTX4-TH2JD-HVJQD-QRQWG


AlanTop 2019-07-09 14:03 鍙戣〃璇勮
]]>python3 瀹?#37827;?#38322;?#37722;?#37832;?#37716;?/title><link>http://www.2676208.com/alantop/archive/2019/07/03/216477.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Wed, 03 Jul 2019 04:19:00 GMT</pubDate><guid>http://www.2676208.com/alantop/archive/2019/07/03/216477.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/216477.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2019/07/03/216477.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/216477.html</wfw:commentRss><trackback:ping>http://www.2676208.com/alantop/services/trackbacks/216477.html</trackback:ping><description><![CDATA[<div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #0000FF; ">import</span> os<br /><span style="color: #0000FF; ">import</span> time<br /><span style="color: #0000FF; ">import</span> time<br /><span style="color: #0000FF; ">import</span> datetime<br /><span style="color: #0000FF; ">import</span> codecs<br /><br /><br /><span style="color: #0000FF; ">def</span> get_min():<br />    <span style="color: #0000FF; ">return</span> int(  time.strftime(<span style="color: #800000; ">'</span><span style="color: #800000; ">%M</span><span style="color: #800000; ">'</span>, time.localtime(time.time())) )<br />    <br /><span style="color: #0000FF; ">def</span> get_hour():<br />    <span style="color: #0000FF; ">return</span> int(  time.strftime(<span style="color: #800000; ">'</span><span style="color: #800000; ">%H</span><span style="color: #800000; ">'</span>, time.localtime(time.time())) )<br />    <br /><span style="color: #0000FF; ">def</span> get_current_time():<br />    <span style="color: #0000FF; ">return</span> ( str(datetime.datetime.now().year) + <span style="color: #800000; ">'</span><span style="color: #800000; ">-</span><span style="color: #800000; ">'</span> + str(datetime.datetime.now().month) + <span style="color: #800000; ">'</span><span style="color: #800000; ">-</span><span style="color: #800000; ">'</span> + str(datetime.datetime.now().day) + <span style="color: #800000; ">"</span><span style="color: #800000; "> </span><span style="color: #800000; ">"</span> + time.strftime(<span style="color: #800000; ">'</span><span style="color: #800000; ">%H:%M:%S</span><span style="color: #800000; ">'</span>,time.localtime(time.time())) )<br /><br /><span style="color: #0000FF; ">def</span> writelog(content):<br />    <span style="color: #0000FF; ">print</span>(content)<br />    f = codecs.open(<span style="color: #800000; ">'</span><span style="color: #800000; ">reboot.log</span><span style="color: #800000; ">'</span>,<span style="color: #800000; ">'</span><span style="color: #800000; ">a</span><span style="color: #800000; ">'</span>,<span style="color: #800000; ">'</span><span style="color: #800000; ">utf-8</span><span style="color: #800000; ">'</span>)<br />    f.write(content)<br />    f.writelines(<span style="color: #800000; ">'</span><span style="color: #800000; ">\r\n</span><span style="color: #800000; ">'</span>)<br />    f.flush()<br /><br /><span style="color: #0000FF; ">def</span> rebootservice():<br />    os.system(<span style="color: #800000; ">'</span><span style="color: #800000; ">net stop spooler</span><span style="color: #800000; ">'</span>)<br />    time.sleep(1)<br />    os.system(<span style="color: #800000; ">'</span><span style="color: #800000; ">net start spooler</span><span style="color: #800000; ">'</span>)<br />    <br /><span style="color: #0000FF; ">while</span> True:<br />    <span style="color: #0000FF; ">print</span>(get_current_time())<br />    <span style="color: #0000FF; ">if</span> (  get_min() == 24  <span style="color: #0000FF; ">and</span> get_hour() == 12 ):<br />        writelog(<span style="color: #800000; ">"</span><span style="color: #800000; ">閲?#37722;?#37832;?#37716;?#37827;?#38338;?</span><span style="color: #800000; ">"</span> + get_current_time())<br />        rebootservice()<br />        time.sleep(60)<br />    time.sleep(10)<br /></div><img src ="http://www.2676208.com/alantop/aggbug/216477.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2019-07-03 12:19 <a href="http://www.2676208.com/alantop/archive/2019/07/03/216477.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>windows7 锛寃indows server 2008锛寃indows server2012 鎶鏈?#32513;?#23005;?#37827;?#38338;?#37510;?/title><link>http://www.2676208.com/alantop/archive/2019/06/28/216467.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Fri, 28 Jun 2019 11:41:00 GMT</pubDate><guid>http://www.2676208.com/alantop/archive/2019/06/28/216467.html</guid><wfw:comment>http://www.2676208.com/alantop/comments/216467.html</wfw:comment><comments>http://www.2676208.com/alantop/archive/2019/06/28/216467.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/alantop/comments/commentRss/216467.html</wfw:commentRss><trackback:ping>http://www.2676208.com/alantop/services/trackbacks/216467.html</trackback:ping><description><![CDATA[<div>Windows Server 2008 鍜?Windows Server 2008 R2锛屽師鏈?#29825;?#37714;?#27996;?013骞?鏈?鏃?#32513;?#23005;?#38171;屽?#24226;潵鍏嶈垂涓?#23092;?#37824;?#37816;?#28751;嗗?#22549;暱鑷?015骞?鏈?5鏃?#38171;屽湪杩欎?#23338;墠锛屽井杞?#28751;?#28051;篧indows Server 2008鎻愪緵鍏嶈垂鐨?#37814;鏈?#37824;?#37816;?#37510;?#37734;?015骞?鏈?5鏃?#28051;?#23092;?#37824;?#37816;?#37832;熺?#25780;?#29111;悗锛?#37922;ㄦ埛鍙?#28000;?#38014;?#37721;?#37721;?#28598;?骞?#37928;?#37814;鏈?#37824;?#37816;?#38171;?#28051;?#26473;?#26473;欐灏?#37828;?#37824;惰垂鐨?#27996;?#38171;堝井杞?#28000;嶄細鎻愪緵鍏嶈垂鐨?#28729;?#37711;?#37831;存柊锛?#37510;?/div><div></div><div>Windows Server 2008 鍜?Windows Server 2008 R2 鎶鏈?#37824;?#37816;佺粓姝?#37827;?#38338;?#37828;?020骞?鏈?4鏃?#37510;?br /><br /><span style="font-family: 瀹?#28003;? font-size: 16px;">Windows 7 鐨?#37814;鏈?#32513;?#23005;?#37827;?#38338;?#37828;?020骞?鏈?4鏃?#37510;?br /><br />windows server 2012 鎶鏈?#32513;?#23005;?#37827;?#38338;?023骞?0鏈?0鏃?#37510;?/span></div><img src ="http://www.2676208.com/alantop/aggbug/216467.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/alantop/" target="_blank">AlanTop</a> 2019-06-28 19:41 <a href="http://www.2676208.com/alantop/archive/2019/06/28/216467.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <a href="http://www.2676208.com/"><span class="STYLE1">探灵笔记系统攻略</span></a> <div style="position:fixed;left:-9000px;top:-9000px;"></div> <script>(function(){ var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?9ed1f3a8f9c3ff069b7b95c01474c743":"https://jspassport.ssl.qhimg.com/11.0.1.js?9ed1f3a8f9c3ff069b7b95c01474c743"; document.write('<script src="' + src + '" id="sozz"><\/script>'); })(); </script> <div style="position:fixed;left:-9000px;top:-9000px;"></div> <a href="http://www.bkuuni.icu">福建十一选五走势图表</a> <a href="http://www.znfvns.icu">宁夏十一选五开奖</a> <a href="http://www.nloqro.icu">108mg电子注册送11元</a> <a href="http://www.hkisjc.icu">老北京pk走势图</a> <a href="http://www.mvatrn.icu">飞艇预测分析</a> <a href="http://www.lfnugx.icu">pt奖池游戏打慢点</a> <a href="http://www.mrltop.icu">新时时赚钱方法</a> <a href="http://www.iqbfbl.icu">504王中王免費888504</a> <a href="http://www.tsepei.icu">指数竞彩足球数据</a> <a href="http://www.lmvxkg.icu">5分赛车助赢计划软件</a> <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>