我如何通过试验和错误组装我的顾问 - 页 58

 
Valeriy Yastremskiy:

如果能有一篇对内脏进行描述的文章就更好了)。我关注它很久了,但我已经忘记了里面的内容))))。

我自己--忘记了里面是什么以及如何使用它。想法出现了--我种下了某种算法。现在我使用。简单的函数

 
Alexsandr San:

我自己--忘记了里面是什么以及如何使用它。想法出现了--植入了某种算法。现在我使用。简单的函数

工具和仪器的区别在于文书的记录))))))。

 
Valeriy Yastremskiy:

工具和仪器的区别在于文书的记录))))))。

我同意你的观点,没有手册是很难的。只需在图表上设置一条水平线 或趋势线,并思考你希望从它们的水平上做些什么。

复制该行的名称,并在实用程序设置中输入,设置命令。这很简单。

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

或者这里有一个函数

input string   t8="----- ChartIndicatorAdd  -----";              // : Работа с Trailing Line: 2
input bool     InpChartInd                  = false;             // Avto Line Chart Indicators
input string   InpIndiL                     = "AVERAGE 0";       // Line name (ChartIndicatorAdd)
input int      InpStep5                     = 15;                // Obj: Шаг сетки, пунктов("0" -> false)
input string   InpIndi_name                 = "Имя Индикатора";  // Installation Indicator Name
input int      InpChart                     = 0;                 // Window numbe
input datetime InpMonday_1                  = D'1970.01.01';     // Installation Indicator (00::00->off)

例如,你有一个指标,它有一个驼峰线或趋势线。- 你可以输入指标的名称,它将由时间或触摸你手动设置的驼峰线来设置。

但你必须事先输入指标的名称。

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

以下是《日历》的信号函数

input string   t10="---- CalendarValueLast 1-----";              //
input datetime HoursFrom                    = D'1970.01.01';     // 1 Время старт Сигнал Календаря
input datetime HoursTo                      = D'1970.01.01';     // Время стоп Сигнал Календаря
input string   t11="---- CalendarValueLast 2-----";              //
input datetime HoursFrom1                   = D'1970.01.01';     // 2 Время старт Сигнал Календаря
input datetime HoursTo1                     = D'1970.01.01';     // Время стоп Сигнал Календаря
input string   t12="---- CalendarValueLast 3-----";              //
input datetime HoursFrom2                   = D'1970.01.01';     // 3 Время старт Сигнал Календаря
input datetime HoursTo2                     = D'1970.01.01';     // Время стоп Сигнал Календаря
input bool     InpCalend                    = true;              // Double (Horizontal Line or Trend Line)
input string   InpSelldar                   = "Buydar";          // Line name (Horizontal Line or Trend Line)
input int      InpStep7                     = 30;                // Obj: Шаг сетки, пунктов("0" -> false)
input ENUM_TRADE_COMMAND InpCalendCommandS  = open_sell;         // Trade command:
input string   InpBuydar                    = "Selldar";         // Line name (Horizontal Line or Trend Line)
input int      InpStep6                     = 30;                // Obj: Шаг сетки, пунктов("0" -> false)
input ENUM_TRADE_COMMAND InpCalendCommandB  = open_buy;          // Trade command:InpdarBuy


如果新闻将被发布,信号将跳出这些线--设置命令,在价格触及后对该线做什么?

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

或名称移植功能

我已经忘了--但我需要它来做一些事情,把名字转到另一个命令上--与拖网线有关的事情。

input string   t18="---- XXX:Line name:XXX  -----";              //
input string   InpdarBuy                    = "BUY";             // Obj: BUY (Obj:Name) ВЕРХУ
input double   InpStep8                     = 0;                 // Obj: Шаг сетки, пунктов("0" -> false)
input string   InpdarSell                   = "SELL";            // Obj: SELL (Obj:Name) ВНИЗУ
input double   InpStep9                     = 0;                 // Obj: Шаг сетки, пунктов("0" -> false)
input int      InpChart1                    = 0;                 // Window numbe

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

这个功能就像所有使用指标的专家一样--你只需要输入指标名称,让它进行交易(不是所有的指标都适合)。

input string   t4="----- Indicators: SELL   -----";              //
input string   short_name                   = "LeMan_BrainTrend1Sig"; // Name Indicators "SELL"
input bool     InpIndicators                = false;             // Indicators: Start (true)
input ENUM_TRADE_COMMAND InpTradeCommandY   = open_sell;         // Trade command: (BuyBuffer Indicators)
input ENUM_TRADE_COMMAND InpTradeCommandU   = close_sells;       // Trade command: (SellBuffer Indicators)
input string   t5="----- Indicators: BUY    -----";              //
input string   short_name1                  = "LeMan_BrainTrend1Sig"; // Name Indicators "BUY"
input bool     InpIndicators1               = false;             // Indicators: Start (true)
input ENUM_TRADE_COMMAND InpTradeCommandY1  = close_buys;        // Trade command: (BuyBuffer Indicators)
input ENUM_TRADE_COMMAND InpTradeCommandU1  = open_buy;          // Trade command: (SellBuffer Indicators)

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

我想每个人都会理解这个功能--你在 "卖 "中打开的东西将在 "买 "中打开。

input string   t20="---- Revers Buy><Sell   -----";              //
input bool     ObjRevers                    = false;             // Revers
//+------------------------------------------------------------------+
 
Alexsandr San:

我同意你的观点,没有指导是很困难的。只需在图表上放一条水平线 或趋势线,并想一想你想从他们那里得到什么,水平线要承诺。

复制这一行的名称,并在实用程序设置中输入,设置命令。这很简单。

好的工具))))。

 
Alexsandr San:

我同意你的观点,没有指导是很困难的。只需在图表上放一条水平线 或趋势线,并想一想你想从他们那里得到什么,水平线要承诺。

复制这一行的名称,并在实用程序设置中输入,设置命令。这很简单。

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

或者这里有一个函数

例如,你有一个指标,它有一个驼峰线或趋势线。- 你可以输入指标的名称,它将通过时间或你手动触摸的山线来设置。

但你必须事先输入指标的名称。

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

以下是《日历》的信号函数


如果新闻将被发布,信号将跳出这些线--设置命令,在价格触及后对该线做什么?

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

或名称移植功能

我已经忘了--但我需要它来做一些事情,把名字转到另一个命令上--与拖网线有关的事情。

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

这个功能就像所有使用指标的专家一样--你只需要输入指标的名称并启用交易(不是所有的指标都适合)。

你是否添加了新闻日历?如果是这样,请点击这一行,我没有马上看到。

 
Valeriy Yastremskiy:

你是否添加了新闻日历?如果有,请指出来,我没有马上看到。

所以有了--上面描述的。

信号来自这里--你只需要选择时间,当信号被触发时,水平线将被设置,从线上设置命令。

日历

 
Alexsandr San:

这就是事情的真相--如上所述。

你只需要选择时间,当信号被触发时,水平线将被设置,从线上,你设置命令。


我找不到新闻时间被提取的代码。我正在Urdal上进行4ka训练,没有DLL。想看看你在5中是如何实施的。在4ke中,每24小时就有一行被解析。

 

我忘了告诉你这个功能

input string   t3="----- Price Line:        -----";              //
input string   InpFont0                     = "BUY";             // Obj: BUY (Obj:Name) ВЕРХУ
input ENUM_TRADE_COMMAND InpCSCommand       = close_open_b;      // Obj:  command:
input string   InpFont1                     = "SELL";            // Obj: SELL (Obj:Name) ВНИЗУ
input ENUM_TRADE_COMMAND InCSCommand        = close_open_s;      // Obj:  command:
input double   InpObjTrail                  = 1.0001;            // Obj: Trailing Stop MACD ("0" -> Off)
input double   InpObjTrailStep              = 1.0001;            // Obj: Trailing Step MACD
input bool     InpDub                       = false;             // "0.0":Price=false(Trail->Off) "LOW":Price=true(Trail->ON)
input bool     InpDubll                     = false;             // Duplicate "BUY""SELL" (ObjTrailStep)
input ushort   InpObjTrailingStopCS         = 0;                 // Obj: Trailing Stop (distance from price to object, in pips)
input ushort   InpObjTrailingStepCS         = 5;                 // Obj: Trailing Step, in pips (1.00045-1.00055=1 pips)
input string   InpFont2                     = "LOW Up";          // Obj: Name Price Line BUY
input string   InpFont3                     = "LOW Down";        // Obj: Name Price Line SELL
input bool     InpOnTimer                   = false;             // On(Вкл.) "LOW Up" "LOW Down"
input int      InpChart2                    = 0;                 // Window numbe "LOW Up" "LOW Down"
input ushort   InpIndentUp                  = 5;                 // Indent up, in pips (1.00045-1.00055=1 pips)
input ushort   InpIndentDown                = 10;                // Indent down, in pips (1.00045-1.00055=1 pips)

当一行与另一行相交时,这个函数就会被触发--我让子窗口能够做到这一点。它也适用于主图表。

input string   InpFont2                     = "LOW Up";          // Obj: Name Price Line BUY
input string   InpFont3                     = "LOW Down";        // Obj: Name Price Line SELL

在某些情况下--你需要设置,一个名称

价格线

 
"马石的2号。"
 

打开一个位置,如果我们关闭它,该位置将向相反方向打开

图片来源

附加的文件: