if time =85000 then
  h_barnum=1
  end if
if time>85000 then
  h_barnum=h_barnum+1
end if


for j = 1 to h_barnum

 end for
 
 
     
     if high>=highest(high,j)  then
 
         //   txt_delete(TxtView)
            condition33=true
         //   TxtView = TXT_New( Date, Time,H,
         //   " 高1"+"|n"+" ↓"+"|n")
            TXT_SetStyle( TxtView, 2, 1 )  
            TXT_SetColor( TxtView, Blue )
           // condition44=false
            h_h=high
            hdate=date
            htime=time
            if h_h>0 and hdate>0 and htime>0 and condition44=true then
      VALUE24=LN_NEW(hdate,htime,h_h,ldate,ltime,l_l)
       
  //   LN_SetExtRight( Value24, True )
                LN_SetColor(Value24, yellow)
                LN_SetStyle(Value24, 3)
                else
                ln_delete(value24)
             end if
        end if
        
    if time<=85000 or time>=133000  then
     ln_delete(value24)
     h_h=0
     hdate=0
     htime=0
     end if
    
////////////////////////

     if low<=lowest(low,j) then
    
       condition44=true
   //    txt_delete(TxtView1)
   //    TxtView1 = TXT_New( Date, Time,H,
    //   "|n"+"|n"+"|n"+"|n"+"|n"+ "↑"+"|n"+"低"+"|n"+"|n"+"|n")
       TXT_SetStyle( TxtView1, 2, 3 )  
       TXT_SetColor( TxtView1, yellow )
      // condition33=false
       l_l=low
       ldate=date
       ltime=time
       if l_l>0 and ldate>0 and ltime>0 and condition33=true then
          VALUE25=LN_NEW(hdate,htime,h_h,ldate,ltime,l_l)
              LN_SetColor(Value25, red)
               LN_SetStyle(Value25, 3)
                else
                 ln_delete(value25)
             end if
    end if
    
    if time<=85000 or  time>=133000   then
     ln_delete(value25)
      condition33 =false
        condition44=false
          l_l=0
           ldate=0
            ltime=0
      
      
       end if
       
    
       
    if  (high<highest(high,j ) and low<lowest(low,j)) or time<85000 or  time>133000  then
    ln_delete(value24)
    ln_delete(value25)
     condition33=false
     condition44=false
     //print("___________")
     end if
  

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 阿唐 的頭像
    阿唐

    阿唐的程式交易

    阿唐 發表在 痞客邦 留言(0) 人氣()