[英]How do i call this indicator?
input int BackLimit = 10000;
input int TimeFrame = 0;
input string TimeString = "0=Current, 15=M15, 30=M30, 60=H1, 240=H4, 1440=Day, 10080=Week, 43200=Month";
input string SHOW_ZONES = "==========SHOW ZONES==========";
input bool zone_show_untested = true;
input bool zone_show_verified = true;
input bool zone_show_truncoat = true;
input bool zone_show_weak = false;
input bool zone_show_possible = false;
input bool zone_showbroken = false;
input string ZONE_ALERTS = "==========ZONE ALERTS==========";
input bool zone_show_alerts = true;
input bool zone_alert_popups = true;
input bool zone_alert_sounds = true;
input bool send_email = false;
input bool use_push = false;
input int zone_alert_waitseconds = 300;
input string ZONE_ALERTS_FILTER = "==========FILTER ALERTS==========";
input bool filter_zone_alert = true;
input bool filter_MA = true;
input int TF_MA = 60;
input int MA_FAST_PERIOD = 13;
input int MA_FAST_METHOD = 1;
input int MA_SLOW_PERIOD = 48;
input int MA_SLOW_METHOD = 1;
input string STYLE_ZONES = "==========STYLE ZONES==========";
input bool zone_merge = true;
input bool zone_extend = false;
input bool zone_solid = false;
input int zone_linewidth = 1;
input int zone_style = 0;
input int ShiftEndRight = 3;//extend the end of zones 3 bars beyond last bar
input int zone_limit = 1000;
input bool zone_show_info = true;
input bool zone_show_size = true;
input int zone_label_shift = 3;
input color color_label = clrWhite; //Label color
input string font_label = "Courier New"; //Label Font
input int size_label = 9; //Label size
input string ZONES_COLOR = "==========COLOR ZONES==========";
input color color_support_possible = DarkSlateGray;
input color color_support_untested = SeaGreen;
input color color_support_verified = Green;
input color color_support_weak = LimeGreen;
input color color_support_turncoat = OliveDrab;
input color color_resist_possible = Indigo;
input color color_resist_untested = Orchid;
input color color_resist_verified = Crimson;
input color color_resist_weak = Red;
input color color_resist_turncoat = DarkOrange;
input color color_broken_weak = DarkGray;
input color color_broken_verified = Gray;
input color color_broken_other = DimGray;
input string ZONE_FRACTALS = "==========ZONE FRACTALS==========";
input double zone_fuzzfactor = 0.75;
input bool fractals_show = false;
input double fractal_fast_factor = 3.0;
input double fractal_slow_factor = 6.0;
input string ZONES_GLOBAL_VAR = "==========ZONES GLOBAL VARIABLES==========";
input bool SetGlobals = False;
input string ZONES_TESTING_MODE = "==========ZONES TESTING==========";
input bool Testing = false; //TRUE == scrolling back the chart shows PAST zone "look"
input bool ShowTestingBtn = false; //Show button to switch Testing mode On/Off
input int TestingBtnX = 10; //Position of this button
input int TestingBtnY = 120;
double lineOne = iCustom(_Symbol,_Period,"SS_SupportResistance_v07.53 (filter alerts MA)",BackLimit,TimeFrame,TimeString, SHOW_ZONES,zone_show_untested,zone_show_verified,zone_show_truncoat,zone_show_weak,zone_show_possible,zone_showbroken,ZONE_ALERTS,zone_show_alerts,zone_alert_popups,zone_alert_sounds,send_email,use_push,zone_alert_waitseconds,ZONE_ALERTS_FILTER,filter_zone_alert,filter_MA,TF_MA,MA_FAST_PERIOD,MA_FAST_METHOD,MA_SLOW_PERIOD,MA_SLOW_METHOD,STYLE_ZONES,zone_merge,zone_extend,zone_solid,zone_linewidth,zone_style,ShiftEndRight,zone_limit,zone_show_info,zone_show_size,zone_label_shift,color_label,font_label,size_label,ZONES_COLOR,color_support_possible,color_support_untested,color_support_verified,color_support_weak,color_support_turncoat,color_resist_possible,color_resist_untested,color_resist_verified,color_resist_weak,color_resist_turncoat,color_broken_weak,color_broken_verified,color_broken_other,ZONE_FRACTALS,zone_fuzzfactor,fractals_show,fractal_fast_factor,fractal_slow_factor,ZONES_GLOBAL_VAR,SetGlobals,ZONES_TESTING_MODE,Testing,ShowTestingBtn,TestingBtnX,TestingBtnY,0,1);
Print("The number is ",lineOne);
這些是我想要調用的指標的輸入。 我對另一個指標進行了類似的調用,並且奏效了。 這個特定的指標給出了“錯誤的參數計數”錯誤。 在調用指標輸入后,零,倒數第二個參數代表緩沖區為 0 的行,而作為最后一個參數的 1 代表最后一根蠟燭。 請問有什么問題。 感謝您的幫助。
導致 inputSettings 有占位符,如:“==========BLABLABLA==========”; 每次當你有這樣的占位符時你都需要調整你的 iCustom 調用你需要在你的 iCustom 函數調用中放置一個“0”
請喜歡如果它有幫助
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.