您現在的位置:程序化交易>> 期貨公式>> 文華財經>> 文華財經知識>>正文內容

可以把最右側的數值固定在一個區域間嗎? 比如-100 0 100 或者 其他固定數值都可以 [文華財經]

  • 咨詢內容: 漲勢有效區間2:100,COLORRED;跌勢有效區間2:-100,COLORYELLOW;
    VAR1:=EMA(EMA(C,9),9);VAR2:=REF(VAR1,1);控盤:=(VAR1-VAR2)/VAR2*100000;AA:=EMA(控盤,8);DRAWBMP(控盤<0,MA(0+ABS(控盤-REF(控盤,1)),100),'綠.BMP',COLORGREEN;DRAWBMP(控盤>REF(控盤,1) AND 控盤>0,MA(0-ABS(控盤-REF(控盤,1)),100),'紅.BMP',COLORRED;DRAWBMP(控盤<REF(控盤,1) AND 控盤>0,MA(0-ABS(控盤-REF(控盤,1)),100),'黃.BMP',COLORYELLOW;STICKLINE1(控盤>AA AND 控盤>0 AND AA>0,控盤,AA,4.5,0),COLOR030163;STICKLINE1(控盤>AA AND 控盤>0 AND AA>0,控盤,AA,3.5,0),COLOR040187;STICKLINE1(控盤>AA AND 控盤>0 AND AA>0,控盤,AA,3,0),COLORRED;STICKLINE1(控盤>AA AND 控盤>0 AND AA>0,控盤,AA,2.5,0),COLORRED;STICKLINE1(控盤>AA AND 控盤>0 AND AA>0,控盤,AA,2,0),COLORRED;STICKLINE1(控盤>AA AND 控盤>0 AND AA>0,控盤,AA,1.5,0),COLORRED;STICKLINE1(控盤>AA AND 控盤>0 AND AA<0,控盤,0,4.5,0),COLOR030163;STICKLINE1(控盤>AA AND 控盤>0 AND AA<0,控盤,0,3.5,0),COLOR040187;STICKLINE1(控盤>AA AND 控盤>0 AND AA<0,控盤,0,3,0),COLORRED;STICKLINE1(控盤>AA AND 控盤>0 AND AA<0,控盤,0,2.5,0),COLORRED;STICKLINE1(控盤>AA AND 控盤>0 AND AA<0,控盤,0,2,0),COLORRED;STICKLINE1(控盤>AA AND 控盤>0 AND AA<0,控盤,0,1.5,0),COLORRED;STICKLINE1(控盤<0 AND AA>控盤 AND AA<0,控盤,AA,4.5,0),COLOR125A05;STICKLINE1(控盤<0 AND AA>控盤? AND AA<0,控盤,AA,3.8,0),COLOR155500;STICKLINE1(控盤<0 AND AA>控盤? AND AA<0,控盤,AA,3.1,0),COLOR208000;STICKLINE1(控盤<0 AND AA>控盤? AND AA<0,控盤,AA,2.4,0),COLOR2BAA00;STICKLINE1(控盤<0 AND AA>控盤? AND AA<0,控盤,AA,1.7,0),COLOR35D500;STICKLINE1(控盤<0 AND AA>控盤 AND AA>0,控盤,0,4.5,0),COLOR125A05;STICKLINE1(控盤<0 AND AA>控盤? AND AA>0,控盤,0,3.8,0),COLOR155500;STICKLINE1(控盤<0 AND AA>控盤? AND AA>0,控盤,0,3.1,0),COLOR208000;STICKLINE1(控盤<0 AND AA>控盤? AND AA>0,控盤,0,2.4,0),COLOR2BAA00;STICKLINE1(控盤<0 AND AA>控盤? AND AA>0,控盤,0,1.7,0),COLOR35D500;STICKLINE1((AA<=0 AND AA>控盤) OR (AA>0 AND AA<控盤),AA,0,4.5,0),COLOR959595;STICKLINE1((AA<=0 AND AA>控盤) OR (AA>0 AND AA<控盤),AA,0,3.8,0),COLORB4B4B4;STICKLINE1((AA<=0 AND AA>控盤) OR (AA>0 AND AA<控盤),AA,0,3.1,0),COLORD0D0D0;STICKLINE1((AA<=0 AND AA>控盤) OR (AA>0 AND AA<控盤),AA,0,2.4,0),COLORF0F0F0;STICKLINE1((AA<=0 AND AA>控盤) OR (AA>0 AND AA<控盤),AA,0,1.7,0),COLORFCFCFC;A10:=CROSS(控盤,0);STICKLINE1((控盤<=0 AND AA<控盤) OR (控盤>0 AND AA>控盤) ,控盤,0,4.5,0),COLOR030163;STICKLINE1((控盤<=0 AND AA<控盤) OR (控盤>0 AND AA>控盤) ,控盤,0,3.8,0),COLORYELLOW;STICKLINE1((控盤<=0 AND AA<控盤) OR (控盤>0 AND AA>控盤),控盤,0,3.1,0),COLORYELLOW;STICKLINE1((控盤<=0 AND AA<控盤) OR (控盤>0 AND AA>控盤) ,控盤,0,2.4,0),COLORYELLOW;STICKLINE1((控盤<=0 AND AA<控盤) OR (控盤>0 AND AA>控盤) ,控盤,0,1.7,0),COLORYELLOW;

    ?

    ?來源:程序化99

  • 文華技術人員: ?參考;
    漲勢有效區間2:100,COLORRED; 跌勢有效區間2:-100,COLORYELLOW;
    VAR1:=EMA(EMA(C,9),9); VAR2:=REF(VAR1,1); 控盤:=(VAR1-VAR2)/VAR2*100000; AA:=EMA(控盤,8); DRAWBMP(控盤<0,MA(0+ABS(控盤-REF(控盤,1)),100),'綠.BMP',COLORGREEN; DRAWBMP(控盤>REF(控盤,1) AND 控盤>0,MA(0-ABS(控盤-REF(控盤,1)),100),'紅.BMP',COLORRED; DRAWBMP(控盤<REF(控盤,1) AND 控盤>0,MA(0-ABS(控盤-REF(控盤,1)),100),'黃.BMP',COLORYELLOW; STICKLINE1(控盤>AA AND 控盤>0 AND AA>0,控盤,AA,4.5,0),COLOR030163; STICKLINE1(控盤>AA AND 控盤>0 AND AA>0,控盤,AA,3.5,0),COLOR040187; STICKLINE1(控盤>AA AND 控盤>0 AND AA>0,控盤,AA,3,0),COLORRED; STICKLINE1(控盤>AA AND 控盤>0 AND AA>0,控盤,AA,2.5,0),COLORRED; STICKLINE1(控盤>AA AND 控盤>0 AND AA>0,控盤,AA,2,0),COLORRED; STICKLINE1(控盤>AA AND 控盤>0 AND AA>0,控盤,AA,1.5,0),COLORRED; STICKLINE1(控盤>AA AND 控盤>0 AND AA<0,控盤,0,4.5,0),COLOR030163; STICKLINE1(控盤>AA AND 控盤>0 AND AA<0,控盤,0,3.5,0),COLOR040187; STICKLINE1(控盤>AA AND 控盤>0 AND AA<0,控盤,0,3,0),COLORRED; STICKLINE1(控盤>AA AND 控盤>0 AND AA<0,控盤,0,2.5,0),COLORRED; STICKLINE1(控盤>AA AND 控盤>0 AND AA<0,控盤,0,2,0),COLORRED; STICKLINE1(控盤>AA AND 控盤>0 AND AA<0,控盤,0,1.5,0),COLORRED; STICKLINE1(控盤<0 AND AA>控盤 AND AA<0,控盤,AA,4.5,0),COLOR125A05; STICKLINE1(控盤<0 AND AA>控盤? AND AA<0,控盤,AA,3.8,0),COLOR155500; STICKLINE1(控盤<0 AND AA>控盤? AND AA<0,控盤,AA,3.1,0),COLOR208000; STICKLINE1(控盤<0 AND AA>控盤? AND AA<0,控盤,AA,2.4,0),COLOR2BAA00; STICKLINE1(控盤<0 AND AA>控盤? AND AA<0,控盤,AA,1.7,0),COLOR35D500; STICKLINE1(控盤<0 AND AA>控盤 AND AA>0,控盤,0,4.5,0),COLOR125A05; STICKLINE1(控盤<0 AND AA>控盤? AND AA>0,控盤,0,3.8,0),COLOR155500; STICKLINE1(控盤<0 AND AA>控盤? AND AA>0,控盤,0,3.1,0),COLOR208000; STICKLINE1(控盤<0 AND AA>控盤? AND AA>0,控盤,0,2.4,0),COLOR2BAA00; STICKLINE1(控盤<0 AND AA>控盤? AND AA>0,控盤,0,1.7,0),COLOR35D500; STICKLINE1((AA<=0 AND AA>控盤) OR (AA>0 AND AA<控盤),AA,0,4.5,0),COLOR959595; STICKLINE1((AA<=0 AND AA>控盤) OR (AA>0 AND AA<控盤),AA,0,3.8,0),COLORB4B4B4; STICKLINE1((AA<=0 AND AA>控盤) OR (AA>0 AND AA<控盤),AA,0,3.1,0),COLORD0D0D0; STICKLINE1((AA<=0 AND AA>控盤) OR (AA>0 AND AA<控盤),AA,0,2.4,0),COLORF0F0F0; STICKLINE1((AA<=0 AND AA>控盤) OR (AA>0 AND AA<控盤),AA,0,1.7,0),COLORFCFCFC; A10:=CROSS(控盤,0); STICKLINE1((控盤<=0 AND AA<控盤) OR (控盤>0 AND AA>控盤) ,控盤,0,4.5,0),COLOR030163; STICKLINE1((控盤<=0 AND AA<控盤) OR (控盤>0 AND AA>控盤) ,控盤,0,3.8,0),COLORYELLOW; STICKLINE1((控盤<=0 AND AA<控盤) OR (控盤>0 AND AA>控盤),控盤,0,3.1,0),COLORYELLOW; STICKLINE1((控盤<=0 AND AA<控盤) OR (控盤>0 AND AA>控盤) ,控盤,0,2.4,0),COLORYELLOW; STICKLINE1((控盤<=0 AND AA<控盤) OR (控盤>0 AND AA>控盤) ,控盤,0,1.7,0),COLORYELLOW;
    REFLINE:100,0,-100;

 

有思路,想編寫各種指標公式,交易模型,選股公式,還原公式的朋友

可聯系技術人員 QQ: 262069696  點擊在線交流或微信號:cxh99cxh99  進行 有償收費 編寫!

怎么收費,代編流程等詳情請點擊閱讀!

(注:由于人數限制,QQ或微信請選擇方便的一個聯系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)


【字體: 】【打印文章】【查看評論

相關文章

    沒有相關內容
主站蜘蛛池模板: 视频二区调教中字知名国产| japanese日本护士xxxx18一19 | 97色伦图片97综合影院| 日本精品3d动漫一区二区| 亚洲熟女综合一区二区三区| 肉色无边(高h)| 国产真实系列在线| 一区二区三区四区无限乱码| 日韩新片在线观看| 亚洲激情视频网站| 精品日韩欧美一区二区三区在线播放| 在线电影一区二区| 久久国产精品久久久久久久久久| 男人肌肌桶女肌肌网站| 国产男女野战视频在线看| japonensis19一20刚开始的| 日本国产成人精品视频| 亚洲国产成人久久综合碰 | 日本理论片2828理论片| 亚洲欧美不卡视频在线播放| 精品人妻系列无码人妻漫画| 国产国产人免费视频成69大陆| www.在线视频yy| 无翼乌全彩里番蛇姬本子| 亚洲av永久综合在线观看尤物| 精品久久久久久亚洲综合网| 国产欧美日韩亚洲一区二区三区 | 国产真实偷乱小说| yy一级毛片免费视频| 日韩视频中文字幕精品偷拍| 免费又黄又硬又爽大片| 被女同桌调教成鞋袜奴脚奴| 国产男女免费完整版视频| 97一区二区三区四区久久| 忘忧草社区中文字幕| 久久国产精品久久国产精品| 欧美在线xxx| 亚洲精品欧美精品中文字幕 | 4hu四虎最新免费地址| 国产精品综合网| julia无码人妻中文字幕在线|