• <legend id='mbfl21gb'><style id='y8xzm27z'><dir id='l5gv4x6f'><q id='ivs28fwa'></q></dir></style></legend>
    <tfoot id='ms96mjea'></tfoot>
  • <i id='za55nki1'><tr id='sfkktfkh'><dt id='86g9vqse'><q id='m9bfa1gl'><span id='86y2kunh'><b id='px8l8u7u'><form id='h7kry45d'><ins id='r2f6c7rr'></ins><ul id='ktedxmk9'></ul><sub id='a65a0kk0'></sub></form><legend id='8qekrrt8'></legend><bdo id='jzclvphr'><pre id='0suues5g'><center id='cqf1b3at'></center></pre></bdo></b><th id='hyt08tuo'></th></span></q></dt></tr></i><div id='38wkyh7m'><tfoot id='yb0r0ytx'></tfoot><dl id='mogck0ay'><fieldset id='g1swhxsh'></fieldset></dl></div>

      <small id='185hkif6'></small><noframes id='b21g0sy8'>

      当前位置: 牛股配资网 > 股票公式指标 > 零基础学习编写股票指标013,把选股公式嵌入主图并自动标记

      零基础学习编写股票指标013,把选股公式嵌入主图并自动标记

      2020-04-16 0条评论

      大[da]家[jia]好[hao]!我[wo]是[shi]股[gu]市[shi]帅[shuai]锅[guo]。今[jin]天[tian]的[de]内[na]容[rong],可[ke]能[nen]是[shi]很[hen]多[duo]人[ren]都[du]想[xiang]学[xue]的[de],把[ba]一[yi]个[ge]选[xuan]股[gu]思[si]路[lu]模[mo]块[kuai]嵌[qian]入[ru]到[dao]主[zhu]图[tu]指[zhi]标[biao]里[li],并[bing]且[qie]能[nen]够[gou]在[zai]主[zhu]图[tu]指[zhi]标[biao]上[shang]自[zi]动[dong]标[biao]记[ji],这[zhe]样[yang]翻[fan]阅[yue]股[gu]票[piao]K线[xian]图[tu]的[de]时[shi]候[hou],就[jiu]知[zhi]道[dao]股[gu]票[piao]哪[na]个[ge]地[di]方[fang]符[fu]合[he]什[shi]么[me]模[mo]型[xing]了[liao]。接[jie]下[xia]来[lai]为[wei]大[da]家[jia]介[jie]绍[shao]"[股[gu]票[piao]资[zi]金[jin]成[cheng]本[ben]公[gong]式[shi]]剖[pou]析[xi]零[ling]基[ji]础[chu]学[xue]习[xi]编[bian]写[xie]股[gu]票[piao]指[zhi]标[biao]013,把[ba]选[xuan]股[gu]公[gong]式[shi]嵌[qian]入[ru]主[zhu]图[tu]并[bing]自[zi]动[dong]标[biao]记[ji]"搞[gao]不[bu]懂[dong]的[de]来[lai]了[liao]解[jie]一[yi]下[xia]呀[ya]
      零[ling]基[ji]础[chu]学[xue]习[xi]编[bian]写[xie]股[gu]票[piao]指[zhi]标[biao]013,把[ba]选[xuan]股[gu]公[gong]式[shi]嵌[qian]入[ru]主[zhu]图[tu]并[bing]自[zi]动[dong]标[biao]记[ji]


      在[zai]011篇[pian]教[jiao]程[cheng]里[li],我[wo]们[men]试[shi]着[zhou]编[bian]了[liao]一[yi]个[ge]颜[yan]色[se]和[he]粗[cu]细[xi]变[bian]化[hua]的[de]主[zhu]图[tu]指[zhi]标[biao],我[wo]们[men]先[xian]把[ba]那[na]个[ge]指[zhi]标[biao]代[dai]码[ma]复[fu]制[zhi]过[guo]来[lai]备[bei]用[yong]。


      -------------


      三[san]十[shi]线[xian]:MA(CLOSE,30);


      上[shang]扬[yang]:=三[san]十[shi]线[xian]>REF(三[san]十[shi]线[xian],1);


      股票资金成本公式[xia]降[jiang]:=三[san]十[shi]线[xian]<REF(三[san]十[shi]线[xian],1);


      三[san]十[shi]线[xian]上[shang]:IF(上[shang]扬[yang],三[san]十[shi]线[xian],DRAWNULL),COLORRED;


      三[san]十[shi]线[xian]下[xia]:IF(下[xia]降[jiang],三[san]十[shi]线[xian],DRAWNULL),COLORGREEN;


      六[liu]十[shi]线[xian]:MA(CLOSE,60)COLORYELLOW;


      上[shang]扬[yang]60:=六[liu]十[shi]线[xian]>REF(六[liu]十[shi]线[xian],1);


      下[xia]降[jiang]60:=六[liu]十[shi]线[xian]<REF(六[liu]十[shi]线[xian],1);


      六[liu]十[shi]线[xian]下[xia]:IF(下[xia]降[jiang]60,六[liu]十[shi]线[xian],DRAWNULL),COLORYELLOW,LINETHICK3;


      ----------


      在[zai]上[shang]面[mian]的[de]指[zhi]标[biao]里[li],我[wo]们[men]输[shu]出[chu]了[liao]两[liang]条[tiao]均[jun]线[xian],一[yi]条[tiao]是[shi]变[bian]色[se]的[de]30均[jun]线[xian],一[yi]条[tiao]是[shi]粗[cu]线[xian]变[bian]化[hua]的[de]60均[jun]线[xian]。


      在[zai]008篇[pian]教[jiao]程[cheng]了[liao],我[wo]们[men]学[xue]了[liao]连[lian]续[xu]4天[tian]放[fang]量[liang]阳[yang]线[xian]的[de]选[xuan]股[gu]公[gong]式[shi],我[wo]们[men]也[ye]把[ba]它[ta]复[fu]制[zhi]过[guo]来[lai]。


      ----------


      放[fang]量[liang]:=VOL>REF(VOL,1);


      收[shou]阳[yang]:=CLOSE>OPEN;


      EVERY(放[fang]量[liang],4) AND EVERY(收[shou]阳[yang],4);


      ----------


      对[dui]于[yu]上[shang]面[mian]的[de]两[liang]个[ge]公[gong]式[shi]代[dai]码[ma],只[zhi]要[yao]是[shi]认[ren]认[ren]真[zhen]真[zhen]一[yi]起[qi]学[xue]下[xia]来[lai]的[de],都[du]已[yi]经[jing]理[li]解[jie],也[ye]会[hui]应[ying]用[yong],因[yin]为[wei]并[bing]没[mei]有[you]什[shi]么[me]难[nan]懂[dong]的[de]地[di]方[fang]。那[na]么[me]怎[zen]样[yang]把[ba]选[xuan]股[gu]公[gong]式[shi]嵌[qian]入[ru]进[jin]去[qu]?我[wo]们[men]需[xu]要[yao]做[zuo]的[de],就[jiu]是[shi]把[ba]两[liang]个[ge]公[gong]式[shi]进[jin]行[xing]合[he]并[bing],并[bing]稍[shao]作[zuo]改[gai]动[dong]。我[wo]直[zhi]接[jie]边[bian]做[zuo]边[bian]解[jie]释[shi]。


      ----------


      三[san]十[shi]线[xian]:MA(CLOSE,30);


      上[shang]扬[yang]:=三[san]十[shi]线[xian]>REF(三[san]十[shi]线[xian],1);


      下[xia]降[jiang]:=三[san]十[shi]线[xian]<REF(三[san]十[shi]线[xian],1);


      三[san]十[shi]线[xian]上[shang]:IF(上[shang]扬[yang],三[san]十[shi]线[xian],DRAWNULL),COLORRED;


      三[san]十[shi]线[xian]下[xia]:IF(下[xia]降[jiang],三[san]十[shi]线[xian],DRAWNULL),COLORGREEN;


      六[liu]十[shi]线[xian]:MA(CLOSE,60)COLORYELLOW;


      上[shang]扬[yang]60:=六[liu]十[shi]线[xian]>REF(六[liu]十[shi]线[xian],1);


      下[xia]降[jiang]60:=六[liu]十[shi]线[xian]<REF(六[liu]十[shi]线[xian],1);


      六[liu]十[shi]线[xian]下[xia]:IF(下[xia]降[jiang]60,六[liu]十[shi]线[xian],DRAWNULL),COLORYELLOW,LINETHICK3;


      {两[liang]条[tiao]均[jun]线[xian]部[bu]分[fen]的[de]代[dai]码[ma]不[bu]需[xu]要[yao]改[gai]动[dong],因[yin]为[wei]还[huai]是[shi]主[zhu]图[tu]指[zhi]标[biao],这[zhe]两[liang]条[tiao]线[xian]也[ye]没[mei]有[you]变[bian]化[hua],所[suo]以[yi]不[bu]用[yong]改[gai]动[dong]}


      放[fang]量[liang]:=VOL>REF(VOL,1);


      收[shou]阳[yang]:=CLOSE>OPEN;


      放[fang]量[liang]4连[lian]阳[yang]:EVERY(放[fang]量[liang],4) AND EVERY(收[shou]阳[yang],4),NODRAW;


      {在[zai]上[shang]面[mian]的[de]这[zhe]一[yi]句[ju]代[dai]码[ma]里[li],我[wo]稍[shao]微[wei]做[zuo]了[liao]修[xiu]改[gai],把[ba]原[yuan]来[lai]的[de]选[xuan]股[gu]条[tiao]件[jian],改[gai]成[cheng]了[liao]输[shu]出[chu],注[zhu]意[yi]这[zhe]里[li]是[shi]输[shu]出[chu],并[bing]没[mei]有[you]加[jia]=,不[bu]是[shi]赋[fu]值[zhi],因[yin]为[wei]我[wo]还[huai]要[yao]用[yong]这[zhe]个[ge]主[zhu]图[tu]指[zhi]标[biao]进[jin]行[xing]选[xuan]股[gu],如[ru]果[guo]改[gai]为[wei]赋[fu]值[zhi],就[jiu]没[mei]有[you]办[ban]法[fa]进[jin]行[xing]选[xuan]股[gu]了[liao]}


      {但[dan]是[shi],改[gai]为[wei]输[shu]出[chu]之[zhi]后[hou],这[zhe]一[yi]个[ge]条[tiao]件[jian],当[dang]天[tian]成[cheng]立[li]的[de]时[shi]候[hou],系[xi]统[tong]默[mo]认[ren]它[ta]的[de]值[zhi]为[wei]1,不[bu]成[cheng]立[li]的[de]时[shi]候[hou],系[xi]统[tong]默[mo]认[ren]它[ta]的[de]值[zhi]为[wei]0,这[zhe]样[yang]主[zhu]图[tu]上[shang股票资金成本公式]就[jiu]会[hui]输[shu]出[chu]一[yi]条[tiao]线[xian],1线[xian]或[huo]者[zhe]0线[xian],就[jiu]是[shi]在[zai]1和[he]0的[de]位[wei]置[zhi]画[hua]线[xian],这[zhe]样[yang]整[zheng]个[ge]主[zhu]图[tu]指[zhi]标[biao]就[jiu]会[hui]被[bei]压[ya]缩[suo]的[de]很[hen]小[xiao],所[suo]以[yi]我[wo]要[yao]求[qiu]它[ta]不[bu]输[shu]出[chu]线[xian],所[suo]以[yi]在[zai]代[dai]码[ma]的[de]最[zui]后[hou]面[mian]加[jia]了[liao]一[yi]个[ge]函[han]数[shu],叫[jiao]NODRAW,它[ta]的[de]意[yi]思[si]就[jiu]是[shi]不[bu]输[shu]出[chu]内[na]容[rong],这[zhe]样[yang]不[bu]管[guan]条[tiao]件[jian]成[cheng]立[li]还[huai]是[shi]不[bu]成[cheng]立[li],主[zhu]图[tu]上[shang]都[du]不[bu]会[hui]有[you]显[xian]示[shi]}


      -----------


      我[wo]们[men]先[xian]把[ba]上[shang]面[mian]的[de]代[dai]码[ma]复[fu]制[zhi]过[guo]去[qu],做[zuo]成[cheng]一[yi]个[ge]主[zhu]图[tu]指[zhi]标[biao],看[kan]看[kan]效[xiao]果[guo]。


      我[wo]们[men]看[kan]到[dao]主[zhu]图[tu]指[zhi]标[biao]里[li],当[dang]股[gu]票[piao]满[man]足[zu]放[fang]量[liang]4连[lian]阳[yang]时[shi],只[zhi]是[shi]在[zai]最[zui]顶[ding]端[duan]显[xian]示[shi]了[liao]放[fang]量[liang]4连[lian]阳[yang]:1,表[biao]示[shi]此[ci]时[shi]满[man]足[zu]此[ci]条[tiao]件[jian],这[zhe]显[xian]然[ran]不[bu]够[gou]明[ming]显[xian],不[bu]符[fu]合[he]我[wo]们[men]的[de]要[yao]求[qiu]。另[ling]外[wai]不[bu]加[jia]NODRAW的[de]情[qing]况[kuang],大[da]家[jia]可[ke]以[yi]自[zi]己[ji]去[qu]测[ce]试[shi]下[xia],看[kan]看[kan]是[shi]什[shi]么[me]情[qing]况[kuang]。


      下[xia]面[mian]我[wo]们[men]开[kai]始[shi]进[jin]阶[jie],为[wei]了[liao]让[rang]这[zhe]个[ge]选[xuan]股[gu]思[si]路[lu]模[mo]块[kuai]能[nen]够[gou]清[qing]晰[xi]的[de]显[xian]示[shi]在[zai]主[zhu]图[tu]指[zhi]标[biao]上[shang],我[wo]们[men]要[yao]在[zai]主[zhu]图[tu]上[shang]进[jin]行[xing]文[wen]字[zi]标[biao]记[ji],这[zhe]里[li]要[yao]用[yong]到[dao]新[xin]的[de]函[han]数[shu]DRAWTEXT,这[zhe]个[ge]词[ci]应[ying]该[gai]很[hen]好[hao]理[li]解[jie],字[zi]面[mian]意[yi]思[si]就[jiu]是[shi]画[hua]文[wen]字[zi]。用[yong]法[fa]是[shi]这[zhe]样[yang]的[de]。DRAWTEXT(条[tiao]件[jian],位[wei]置[zhi],'文[wen]字[zi]');


      括[kuo]号[hao]里[li]也[ye]是[shi]三[san]项[xiang]内[na]容[rong],第[di]一[yi]项[xiang]需[xu]要[yao]满[man]足[zu]的[de]条[tiao]件[jian],第[di]二[er]项[xiang]标[biao]记[ji]文[wen]字[zi]的[de]指[zhi]定[ding]位[wei]置[zhi],第[di]三[san]项[xiang]是[shi]文[wen]字[zi],文[wen]字[zi]用[yong]英[ying]文[wen]的[de]单[dan]引[yin]号[hao],下[xia]面[mian]我[wo]们[men]来[lai]进[jin]行[xing]演[yan]示[shi],在[zai]上[shang]面[mian]的[de]代[dai]码[ma]里[li],最[zui]后[hou]加[jia]一[yi]句[ju]:


      DRAWTEXT(放[fang]量[liang]4连[lian]阳[yang]=1,六[liu]十[shi]线[xian],'连[lian]');


      这[zhe]句[ju]代[dai]码[ma]的[de]意[yi]思[si]是[shi],放[fang]量[liang]4连[lian]阳[yang]=1,=1也[ye]可[ke]以[yi]不[bu]要[yao],当[dang]满[man]足[zu]这[zhe]个[ge]条[tiao]件[jian]时[shi],在[zai]六[liu]十[shi]线[xian]上[shang]画[hua]一[yi]个[ge]“连[lian]”字[zi],当[dang]然[ran]字[zi]大[da]家[jia]可[ke]以[yi]自[zi]己[ji]选[xuan]。


      我[wo]们[men]是[shi]不[bu]是[shi]看[kan]到[dao],在[zai]60均[jun]线[xian]上[shang]多[duo]了[liao]一[yi]个[ge]连[lian]字[zi],只[zhi]要[yao]满[man]足[zu]条[tiao]件[jian]的[de]地[di]方[fang],都[du]会[hui]自[zi]动[dong]标[biao]注[zhu],包[bao]括[kuo]历[li]史[shi]上[shang]满[man]足[zu]条[tiao]件[jian]的[de]地[di]方[fang]。


      文[wen]字[zi]可[ke]以[yi]是[shi]中[zhong]文[wen]、数[shu]字[zi]、英[ying]文[wen]、符[fu]号[hao]等[deng]等[deng],只[zhi]要[yao]用[yong]英[ying]文[wen]的[de]单[dan]引[yin]号[hao]括[kuo]起[qi]来[lai]就[jiu]可[ke]以[yi]的[de]。


      今[jin]天[tian]我[wo]们[men]学[xue]的[de]是[shi]标[biao]记[ji]文[wen]字[zi],后[hou]面[mian]一[yi]篇[pian]我[wo]会[hui]叫[jiao]大[da]家[jia]标[biao]记[ji]图[tu]标[biao]。


      那[na]么[me]接[jie]下[xia]来[lai],我[wo]们[men]用[yong]这[zhe]个[ge]主[zhu]图[tu]公[gong]式[shi]来[lai]进[jin]行[xing]选[xuan]股[gu],这[zhe]也[ye]是[shi]主[zhu]图[tu]嵌[qian]入[ru]选[xuan]股[gu]公[gong]式[shi]的[de]其[qi]中[zhong]一[yi]个[ge]意[yi]义[yi]。


      当[dang]我[wo]们[men]用[yong]主[zhu]图[tu]公[gong]式[shi]进[jin]行[xing]选[xuan]股[gu]的[de]时[shi]候[hou],和[he]选[xuan]股[gu]公[gong]式[shi]选[xuan]股[gu],稍[shao]有[you]不[bu]同[tong],主[zhu]要[yao]是[shi]条[tiao]件[jian]设[she]置[zhi]的[de]地[di]方[fang],我[wo]上[shang]面[mian]标[biao]注[zhu]了[liao]很[hen]多[duo]箭[jian]头[tou],下[xia]拉[la]框[kuang]里[li],把[ba]放[fang]量股票资金成本公式[liang]4连[lian]阳[yang]找[zhao]出[chu]来[lai],中[zhong]间[jian]选[xuan]择[ze]=,下[xia]面[mian]填[tian]上[shang]1,然[ran]后[hou]加[jia]入[ru]条[tiao]件[jian],接[jie]下[xia]来[lai]的[de]过[guo]程[cheng]和[he]之[zhi]前[qian]的[de]选[xuan]股[gu]公[gong]式[shi]选[xuan]股[gu]是[shi]一[yi]样[yang]的[de],大[da]家[jia]自[zi]己[ji]测[ce]试[shi]一[yi]下[xia],有[you]问[wen]题[ti]及[ji]时[shi]反[fan]馈[kui]。


      这[zhe]就[jiu]是[shi]我[wo]们[men]上[shang]面[mian]代[dai]码[ma]里[li],把[ba]这[zhe]一[yi]项[xiang]设[she]置[zhi]为[wei]输[shu]出[chu],如[ru]果[guo]是[shi]赋[fu]值[zhi]的[de]话[hua],下[xia]拉[la]框[kuang]里[li]就[jiu]选[xuan]不[bu]到[dao]的[de]。


      今[jin]天[tian]的[de]内[na]容[rong]就[jiu]到[dao]这[zhe]里[li],今[jin]天[tian]已[yi]经[jing]是[shi]第[di]13篇[pian]了[liao],离[li]100篇[pian]的[de]目[mu]标[biao]又[you]近[jin]了[liao]一[yi]步[bu],大[da]家[jia]也[ye]可[ke]以[yi]感[gan]觉[jue]到[dao],我[wo]是[shi]实[shi]实[shi]在[zai]在[zai]地[di]教[jiao],并[bing]没[mei]有[you]靠[kao]噱[xue]头[tou]吸[xi]引[yin]大[da]家[jia],所[suo]以[yi]多[duo]多[duo]点[dian]赞[zan],收[shou]藏[cang],转[zhuan]发[fa],评[ping]论[lun],多[duo]互[hu]动[dong],让[rang]我[wo]看[kan]到[dao]你[ni]也[ye]在[zai]努[nu]力[li]地[di]学[xue],谢[xie]谢[xie]!



      如果看完上文,想必朋友们应该明白"[股票资金成本公式]剖析零基础学习编写股票指标013,把选股公式嵌入主图并自动标记"了吧?已经在上文为大家进行了一番讲解,相信各位在看完之后一定能够知道要注意的一些重要事项哦

      转载请注明来自,本文标题:零基础学习编写股票指标013,把选股公式嵌入主图并自动标记
      本文地址:http://www.xjnews.net.cn/gupiaogongshizhibiao/1175.html

      标签: 股票资金成本公式

      <small id='fz4pd6v2'></small><noframes id='qnc2uriv'>

    1. <legend id='vlctznek'><style id='xdotfkq1'><dir id='4cokwhu5'><q id='zjm0sm5n'></q></dir></style></legend>

      <i id='48n623fl'><tr id='wbm248qw'><dt id='34lrri8t'><q id='h8ti2e27'><span id='b2kjiauu'><b id='exm20yti'><form id='db3i7mn1'><ins id='f5r093j6'></ins><ul id='ta4ub9bc'></ul><sub id='sdb9sms9'></sub></form><legend id='lyhrfq1i'></legend><bdo id='4zpht6tq'><pre id='99f9mq5a'><center id='64yjh6r7'></center></pre></bdo></b><th id='tq7tqy91'></th></span></q></dt></tr></i><div id='pv0hhh9p'><tfoot id='wlpl82kw'></tfoot><dl id='attkkk8e'><fieldset id='q14p7pvj'></fieldset></dl></div>
          <tbody id='81pkfmss'></tbody>

            <tfoot id='5c1lq6b0'></tfoot>

            我们需要您来参与下,来添加一个评论吧(●'◡'●)

            评论框
            验证码: 看不清?点击更换

            注:网友评论仅供其表达个人看法,并不代表本站立场。

          • <tfoot id='00js7f38'></tfoot>

              <small id='fpy8tk5k'></small><noframes id='vwtohgap'>

                <tbody id='y7z8gujc'></tbody>
              • <legend id='6mhfa4to'><style id='zjw2wwrk'><dir id='r7rrctvb'><q id='5wfbu76u'></q></dir></style></legend>
                <i id='8thawxbw'><tr id='wnsksbgg'><dt id='u2zq439l'><q id='ofy409bi'><span id='v7jyphgm'><b id='iz6icdp7'><form id='y2db5voi'><ins id='jpqzx8ha'></ins><ul id='a2kyxiv9'></ul><sub id='3u2u98fz'></sub></form><legend id='nwjtpu9q'></legend><bdo id='lwus8hjj'><pre id='clrq9t0f'><center id='1b17b3na'></center></pre></bdo></b><th id='4shqohzi'></th></span></q></dt></tr></i><div id='ljte9a35'><tfoot id='eii9xx4j'></tfoot><dl id='lbnvdoul'><fieldset id='whz543lg'></fieldset></dl></div>
                关于我

                欢迎加我的微信号交流

                搜索
                同类文章
                最新评论
                友情链接