漫步云端8 发表于 2024-11-14 11:07

验证了下灰机大拿的分时看盘技巧,

准确率还是蛮高的,特别是4个时间点的参考价值(附同花顺指标)1、因K线级别的开盘价,在分时图好像用不了,因此取了开盘第一笔成交价

2、同花顺距开盘分钟数函数,具有未来性质,因此重新做了计算
3、看多用黄柱表示,看空用绿柱表示,柱线高度为价格与分时均线的距离
4、因看空看多条件,未能形成闭环,看后续能不能用大数据跑下、验证后补全


zeroAxis:0,DOTLINE,colorwhite;
maPrice:=MONEY/VOL;
bIsFillGap:=TRUE;//缺口是否回补
fOpenPrice:=0;
iOpenType:=0;//开盘类型,0平开,1高开,2低开
IF (ISNULL(REF(NEW,1)))
fOpenPrice:=NEW;
iFromMinute:=(HOUR-9)*60-30+MINUTE;//距离开盘的分钟数
IF(iFromMinute>120)
iFromMinute:=iFromMinute-90;
iFromMinute:=iFromMinute+1;
fOpen:=HHV(fOpenPrice,iFromMinute);//开盘价
IF(fOpen>PRE)
iOpenType:=1;
ELSE IF(fOpen<PRE)
iOpenType:=2;
fMaxPrice:=HHV(NEW,iFromMinute);
fMinPrice:=LLV(NEW,iFromMinute);
IF(fMinPrice>PRE){
   bIsFillGap:=FALSE;
}ELSE IF(fMaxPrice<PRE){
        bIsFillGap:=FALSE;
};


IF(HOUR==10 AND MINUTE>=5 AND MINUTE<=15){
        IF( ((iOpenType==1 AND bIsFillGap==FALSE) OR (iOpenType==2 AND bIsFillGap)) AND NEW>=PRE)
                STICKLINE(TRUE,0,(NEW-maPrice),1,2),coloryellow;
   ELSE{
      //STICKLINE(TRUE,0,(NEW-maPrice),0.8,2),colorwhite;

   }
};


IF(HOUR==10 AND MINUTE>=35 AND MINUTE<=45){
IF(iOpenType==1 AND bIsFillGap==FALSE AND NEW>=maPrice)
          STICKLINE(TRUE,0,(NEW-maPrice),1,2),coloryellow;
ELSE IF(iOpenType==2 AND bIsFillGap==FALSE AND NEW<maPrice)
   STICKLINE(TRUE,0,(NEW-maPrice),1,2),colorgreen;
ELSE{
    // STICKLINE(TRUE,0,(NEW-maPrice),0.8,2),colorwhite;
}


};

IF(HOUR==13 AND MINUTE>=35 AND MINUTE<=45){
        IF(iOpenType==1 AND bIsFillGap==TRUE AND NEW<maPrice)
          STICKLINE(TRUE,0,(NEW-maPrice),1,2),colorgreen;
    ELSE IF(iOpenType==2 AND bIsFillGap==TRUE AND NEW>=maPrice)
      STICKLINE(TRUE,0,(NEW-maPrice),1,2),coloryellow;
    ELSE {
   // STICKLINE(TRUE,0,(NEW-maPrice),0.8,2),colorwhite;
    }


};

IF(HOUR==14 AND MINUTE>=35 AND MINUTE<=45){
                IF((iOpenType==1 AND bIsFillGap==FALSE AND NEW<maPrice) OR (iOpenType==2 AND bIsFillGap==FALSE))
          STICKLINE(TRUE,0,(NEW-maPrice),1,2),colorgreen;
};



北溟有鱼 发表于 2024-11-14 11:32

技术流:victory:

中石油打灰机 发表于 2024-11-14 12:15

有心了。比我更专业

熬炒鸡 发表于 2024-11-14 12:36

膜拜呀,大神

楚玉祥 发表于 2024-11-14 12:50

有点像最近DY上看到的一种网格交易法,适合手续费低的

黄晓明 发表于 2024-11-14 15:54

都是厉害角色!!!
页: [1]
查看完整版本: 验证了下灰机大拿的分时看盘技巧,