比特币通信协议 - 币圈消息

比特币通信协议篇11、二、TURN简介。在典型的情况下,TURN客户端连接到内网中,并且通过一个或者多个NAT到 详细

求大神帮忙看下这个指标显示不了什么问题?谢谢

[复制链接]
168 0
顺水的鱼 发表于 2015-6-13 22:53:00 | 只看该作者 |阅读模式 打印 上一主题 下一主题
#property indicator_chart_window
#define PREFIX "T3S"
#property indicator_buffers 2               
#property indicator_color1 Lime
#property indicator_color2 White
extern int    Snake_HalfCycle = 14;
extern int    T3Period        = 21;
extern int    T3Price         = PRICE_CLOSE;
extern double b               = 0.518;
extern string TimeFrame       = "current time frame";
extern bool   Indi_Lines      = true;
extern bool   Real            = true;
extern int    Arr_otstup      = 0;
extern int    Arr_width       = 2;
extern bool   AlertsMessage      = true;
extern bool   AlertsSound        = false;
extern bool   AlertsEmail        = false;
extern bool   AlertsNotification = false;
extern int    SignalBar          = 0;
int sig_alert=0;
double Sn[],T3[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init
  {
    SetIndexBuffer;
    SetIndexLabel ;
   
    SetIndexBuffer;
    SetIndexLabel ;
if{   
    SetIndexStyle ;
    SetIndexStyle ;   
   }else{
    SetIndexStyle ;
    SetIndexStyle ;}   
   
    IndicatorShortName;
   return;
  }
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit
  {
   for-1; i >= 0; i--)   
   if , 0,
       StringLen) == PREFIX)
       ObjectDelete);
   return;
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start
{
   int i;
   int counted_bars=IndicatorCounted;
   int limit=Bars-counted_bars;
   
   ifint snk=0; else snk=Snake_HalfCycle;
   for
   {
    Sn[i] = iCustom,0,"Snake",Snake_HalfCycle,0,i);
    T3[i] = iCustom,0,"T3_clean",T3Period,T3Price,b,TimeFrame,0,i);
   }
//+------------------------------------------------------------------+
for
  {   
  if
    arrows_wind;
    else ObjectDelete);
  
  if
    arrows_wind;
    else ObjectDelete);
//-----------------------------------------------------------------------+
if
  {
   string message1 = +" TF+") - Signal for BUY");
   string message2 = +" TF+") - Signal for SELL");
      
    if
     {
        if  Alert;
        if    SendMail+" T3+Snake ",message1);
        if  SendNotification;
        if    PlaySound;
        sig_alert=1;
     }
    if
     {
        if  Alert;
        if    SendMail+" T3+Snake ",message2);
        if  SendNotification;
        if    PlaySound;
        sig_alert=2;
    }
   }
  }
//+------------------------------------------------------------------+
      return;
}
//====================================================================  
void arrows_wind                 
{           
   string objName = PREFIX+N+TimeToStr;
   double gap  = /4.0)+ots*Point;
   
   ObjectCreate;
   ObjectSet   ;  
   ObjectSet   ;
   ObjectSet   ;  
  if
      ObjectSet;
     else  
      ObjectSet;
}
//====================================================================
收藏
收藏0
转播
转播
分享
分享
分享
淘帖0
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

发布主题
阅读排行更多+

Powered by 顺水鱼MT4外汇EA网! X3.2© 2001-2017 顺水MT4外汇EA公司.( 陕ICP备17014341号-1