个股:=(c-ref(c,1))/ref(c,1)*100; 深证a指:=("399107$c"-ref("399107$c",1))/ref("399107$c",1)*100; 创业板综指:=("399102$c"-ref("399102$c",1))/ref("399102$c",1)*100; 个股2日:=(c-ref(c,2))/ref(c,2)*100; 个股3日:=(c-ref(c,3))/ref(c,3)*100; 深证a指2日:=("399107$c"-ref("399107$c",2))/ref("399107$c",2)*100; 深证a指3日:=("399107$c"-ref("399107$c",3))/ref("399107$c",3)*100; 个股10日:=(c-ref(c,10))/ref(c,10)*100; 深证a指10日:=("399107$c"-ref("399107$c",10))/ref("399107$c",10)*100; 创业3日:=("399102$c"-ref("399102$c",3))/ref("399102$c",3)*100; 创业10日:=("399102$c"-ref("399102$c",10))/ref("399102$c",10)*100; 深证偏离值:个股-深证a指,colorred; 创业偏离值:个股-创业板综指,colorgray; 深证2日偏离值:个股2日-深证a指2日,colorred; 深证3日偏离值:个股3日-深证a指3日,colorred; 创业板3日偏离值:个股3日-创业3日,colorgray; 深证10日偏离值:个股10日-深证a指10日,colorred; 创业10日偏离值:个股10日-创业10日,colorgray; 
|