(呼唤牛版)小弟快哭了,一个指标编了俩星期还没编好
泪奔啊,编了俩星期还是没箭头 哪位高手帮帮小弟 指标 (呼唤牛版)小弟快哭了,一个指标编了俩星期还没编好 点击文件名下载附件 下载积分: 金币 -2 jMACD82113.mq4 (3.02 KB, 下载次数: 26) 2009-5-24 11:13 上传 点击文件名下载附件 下载积分: 金币 -2 wideMACD.mq4 (3.02 KB, 下载次数: 26) 2009-5-24 11:13 上传 点击文件名下载附件 下载积分: 金币 -2 <div class="quote"><blockquote>//+------------------------------------------------------------------+ //| 三窗MACD_alert.mq4 | //| Copyright ?2009, metaQuotes Software Corp. | //| http://www.metaquotes.net | //+------------------------------------------------------------------+ #property copyright "Copyright ?2009, metaQuotes Software Corp." #property link "http://www.metaquotes.net" #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Red #property indicator_color2 Lime #property indicator_width1 2 #property indicator_width2 2 extern bool alert=true; double UpArrow[]; double DownArrow[]; double Up[]; double Down[]; double jingybMACD[]; double jMACD[]; double wideMACD[]; double sound; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int init() { //---- indicators SetIndexStyle(0,DRAW_ARROW); SetIndexArrow(0,233); SetIndexBuffer(0,UpArrow); SetIndexStyle(1,DRAW_ARROW); SetIndexArrow(1,234); SetIndexBuffer(1,DownArrow); //---- return(0); } //+------------------------------------------------------------------+ //| Custom indicator deinitialization function | //+------------------------------------------------------------------+ int deinit() { //---- //---- return(0); } //+------------------------------------------------------------------+ //| Custom indicator iteration function | //+------------------------------------------------------------------+ int start() { int limit; int counted_bars=IndicatorCounted(); if(counted_bars0) counted_bars--; limit=Bars-counted_bars; //---- for(int i=0; ijingybMACD[t+2]&&((jingybMACD[t+2]>0&&jingybMACD[t+3]0&&jingybMACD[t+2]0&&jingybMACD[t+1]jMACD[t+1]&&jMACD[t+1]>jMACD[t+2])&&(wideMACD[t]>wideMACD[t+1]&&wideMACD[t+1]>wideMACD[t+2])) Up[t]=Low[t]-Point*3; } if(jingybMACD[t] |
打赏
最新创建圈子
- 新闻EA运行效果图圈 2019-05-05
圈主:admin 帖子:1