어드바이저를 무작위로 모으는 방법 - 페이지 56

 
Alexsandr San :

#속성 버전 "1.021"

이 기능을 약간 변경하고 시간별로 시작하고 이 기능이 작동을 중지해야 할 때

#속성 버전 "1.023"

이 기능의 실행을 시간별로 3회 설정하는 기능을 추가했습니다.

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

스냅 사진 기능을 확인할 시간 설정

파일:
 

중요한 ! 수평선 을 복제 할 때 촛불 (막대)에 닿지 않도록 반복 거리를 계산해야합니다.

기간이 짧을수록 더 적은 양초(막대)가 있습니다.

여기에서 거리가 계산되고 설정됩니다.

 input int       InpStep6                     = 30 ;                 // Obj: Шаг сетки, пунктов("0" -> false)
 

버그 수정 발견

#속성 버전 "1.024"

파일:
 
Alexsandr San :

중요한 ! 수평선 을 복제 할 때 촛불 (막대)에 닿지 않도록 반복 거리를 계산해야합니다.

기간이 짧을수록 더 적은 양초(막대)가 있습니다.

여기에서 거리가 계산되고 설정됩니다.

바로 할 필요가 있었고, 각 수평선마다 자체 거리가 있습니다.

업데이트된 #속성 버전 "1.025"

 input string    v10= "---- CalendarValueLast 3-----" ;               //
input datetime HoursFrom2                   = D'1970.01.01' ;     // 3 Время старт Сигнал Календаря
input datetime HoursTo2                     = D'1970.01.01' ;     // Время стоп Сигнал Календаря
input bool      InpCalend                    = false ;             // 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:

"0"으로 설정하면 단순히 그렇지 않습니다. 이중(수평선 또는 추세선)이 활성화된 경우 트리거 후 동일한 거리로 다시 이동합니다.

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

-이 수평선은 이중으로 상호 연결됩니다.

 input string    t3= "----- Trailing Line: 1   -----" ;               //
input string    InpObjUpName                 = "ZTOP" ;             // Obj: TOP (Horizontal Line)
input int       InpStep1                     = 0 ;                 // Obj: Шаг сетки, пунктов("0" -> false)
input ENUM_TRADE_COMMAND InpTradeCommand    = Line2_sells;       // Obj:  command:
input string    InpObjDownName               = "ZLOWER" ;           // Obj: LOWER (Horizontal Line)
input int       InpStep2                     = 0 ;                 // Obj: Шаг сетки, пунктов("0" -> false)
input ENUM_TRADE_COMMAND InTradeCommand     = Line1_buys;         // Obj:  command:
input ushort    InpObjTrailingStop           = 0 ;                 // Obj: Trailing Stop (distance from price to object, in pips)
input ushort    InpObjTrailingStep           = 5 ;                 // Obj: Trailing Step, in pips (1.00045-1.00055=1 pips)
input string    t4= "----- Trailing Line: 2   -----" ;               //
input string    InpObjUpNameG                = "POT" ;             // Obj: TOP (Horizontal Line)
input int       InpStep3                     = 0 ;                 // Obj: Шаг сетки, пунктов("0" -> false)
input ENUM_TRADE_COMMAND InpTradeCommandG   = Line2_sells;       // Obj:  command:
input string    InpObjDownNameG              = "REWOL" ;           // Obj: LOWER (Horizontal Line)
input int       InpStep4                     = 0 ;                 // Obj: Шаг сетки, пунктов("0" -> false)
input ENUM_TRADE_COMMAND InTradeCommandG    = Line1_buys;         // Obj:  command:
input ushort    InpObjTrailingStopG          = 0 ;                 // Obj: Trailing Stop (distance from price to object, in pips)
input ushort    InpObjTrailingStepG          = 5 ;                 // Obj: Trailing Step, in pips (1.00045-1.00055=1 pips)

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

이 모든 수평선에 있으면 거리를 설정하십시오. 그런 다음 버튼에서 얻습니다(가격 위의 BUY, 가격 아래의 SELL).

USDCHFH1

파일:
 

할 일 없음 - 조수를 눈멀게 하여 손익을 마감 하고 보류 중인 주문도 제거합니다 .

 input string Template      = "ADX" ;     // Имя шаблона(without '.tpl')
input double TargetProfit  = 999999.99 ; // Прибыль
input double TargetLoss    = 999999.99 ; // Убыток

당신은 그것을 다음 차트에 올려 놓고 그것은 이익을 모니터링합니다

파일:
 
Alexsandr San :

할 일 없음 - 조수를 눈멀게 하여 손익을 마감 하고 보류 중인 주문도 제거합니다 .

당신은 그것을 다음 차트에 올려 놓고 그것은 이익을 모니터링합니다

그렇게하는 것이 좋습니다!

 input double TargetProfit  = 999999.99 ; // Баланс + Прибыль(прибавить к балансу)
input double TargetLoss    = 0 ;         // Баланс - Убыток(отнять от баланса)

이것은 교체해야 할 것입니다

   if ( AccountInfoDouble ( ACCOUNT_EQUITY )<=TargetLoss ||
       AccountInfoDouble ( ACCOUNT_EQUITY )>=TargetProfit)

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

여기 테스터에서 - 동시에 훈련할 수 있습니다(손실 10000 - 16)

스냅샷.PNG

 

글쎄, 이것은 거의 진정한 도우미입니다!!!!!!!

 //---
input string Template      = "ADX" ;     // Имя шаблона(without '.tpl')
input double TargetProfit  = 999999.99 ; // Баланс + Прибыль(прибавить к балансу)
input double TargetLoss    = 0 ;         // Баланс - Убыток(отнять от баланса)
input string tL= "--Lots Parameters--" ;   //
input uint    maxLimits     = 1 ;         // Кол-во Позиции Открыть в одну сторону
input double InpLots1      = 0.01 ;       // Lots 1
input int     InpLots_01    = 200 ;       // До убытка валюте Lots 0.01
input double InpLots2      = 0.02 ;       // Lots 2
input int     InpLots_02    = 400 ;       // До убытка валюте Lots 0.02
input double InpLots3      = 0.04 ;       // Lots 3
input int     InpLots_03    = 800 ;       // До убытка валюте Lots 0.04
input double InpLots4      = 0.08 ;       // Lots 4
input string t= "--Parameters TP SL--" ;   //
input double InpTakeProfit = 1000000 ;   // Прибыль на паре в валюте
input double InpStopLoss   = 1000000 ;   // Убыток на паре в валюте
//---

스냅샷1

스냅샷2

파일:
 

감사합니다 - 필요 없습니다! 건강에 사용!

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

이 버전은 개선되었습니다 - 포인트와 통화 모두에서 작동할 수 있습니다.

BUY의 중지 및 이익, SELL의 중지 및 이익은 통화와 포인트로 계산할 수 있습니다.

 //---
input string Template       = "ADX" ;     // Имя шаблона(without '.tpl')
input double TargetProfit   = 999999.99 ; // Баланс + Прибыль(прибавить к балансу)
input double TargetLoss     = 0 ;         // Баланс - Убыток(отнять от баланса)
input string tL= "--Lots Parameters--" ;   //
input uint    maxLimits      = 1 ;         // Кол-во Позиции Открыть в одну сторону
input double InpLots1       = 0.01 ;       // : Lots 1
input int     InpLots_01     = 200 ;       // Exchange Lots >< Point Lots
input double InpLots2       = 0.02 ;       // : Lots 2
input int     InpLots_02     = 400 ;       // Exchange Lots >< Point Lots
input double InpLots3       = 0.04 ;       // : Lots 3
input int     InpLots_03     = 800 ;       // Exchange Lots >< Point Lots
input double InpLots4       = 0.08 ;       // : Lots 4
input string t= "--Exchange TP SL--" ;     //
input double InpTakeProfit  = 1000000 ;   // Exchange TP >< Point TP
input double InpStopLoss    = 1000000 ;   // Exchange SL >< Point SL
input string m= "Exchange><Point TP SL" ;   //
input bool    InpExcPoi      = false ;     // Exchange= false; Point= true;
//---
파일:
 
Alexsandr San :

감사합니다 - 필요 없습니다! 건강에 사용!

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

이 버전은 개선되었습니다 - 포인트와 통화 모두에서 작동할 수 있습니다.

BUY의 중지 및 이익, SELL의 중지 및 이익은 통화와 포인트로 계산할 수 있습니다.

#속성 버전 "1.026"

이 외에도 온갖 종류의 종소리와 휘파람 소리.

 //+------------------------------------------------------------------+
//| ENUM_TRADE_COMMAND                                               |
//+------------------------------------------------------------------+
enum ENUM_TRADE_COMMAND
  {
   Turn_Off= 0 ,       // TURN  OFF
   Line1_Line1= 1 ,     // Line: LOWER
   Line2_Line2= 2 ,     // Line: TOP
   Line_Line= 3 ,       // Line: LOWER + Line: TOP
   Line1_buys= 4 ,     // Line: LOWER + Buy's
   Line2_sells= 5 ,     // Line: TOP + Sell's
   sells_Line1= 6 ,     // Line: LOWER + Sell's
   buys_Line2= 7 ,     // Line: TOP + Buy's
   close_buys= 8 ,     // Close All Buy's
   close_sells= 9 ,     // Close All Sell's
   close_all= 10 ,     // Close All Buy's and Sell's
   open_buy= 11 ,       // Open  Buy
   open_sell= 12 ,     // Open  Sell
   close_open_b= 13 ,   // Close Sell + Open Buy
   close_open_s= 14 ,   // Close Buy + Open Sell
   open_buy_sell= 15 , // Open  Buy and Sell
  };
//+------------------------------------------------------------------+
input string    t= "-----   Balans Parameters -----" ;               //
input string    Template                     = "ADX" ;             // Имя шаблона(without '.tpl')
input bool      Inpwithout                   = false ;             // Сменить только шаблон (true)
input datetime InpMonday_2                  = D'1970.01.01' ;     // Dell (00::00 -> off)
input double    TargetProfit                 = 999999.99 ;         // Баланс + Прибыль(прибавить к балансу)
input double    TargetLoss                   = 0 ;                 // Баланс - Убыток(отнять от баланса)
input string    t0= "-----  Lots Parameters   -----" ;               //
input uint      maxLimits                    = 1 ;                 // Кол-во Позиции Открыть в одну сторону
input double    InpLots1                     = 0.01 ;               // : Lots 1
input int       InpLots_01                   = 200 ;               // Exchange Lots >< Point Lots
input double    InpLots2                     = 0.02 ;               // : Lots 2
input int       InpLots_02                   = 400 ;               // Exchange Lots >< Point Lots
input double    InpLots3                     = 0.04 ;               // : Lots 3
input int       InpLots_03                   = 800 ;               // Exchange Lots >< Point Lots
input double    InpLots4                     = 0.08 ;               // : Lots 4
input string    t1= "-----  TP SL             -----" ;               //
input int       InpTakeProfit                = 900 ;               // Take Profit("0"-No.5<100)(1.00045-1.00055=1 pips)
input double    InpTProfit                   = 1000000 ;           // Exchange TP >< Point TP
input double    InpStopLoss                  = 1000000 ;           // Exchange SL >< Point SL
input string    E= "-----  Exchange><Point TP SL---" ;               //
input bool      InpExcPoi                    = false ;             // Exchange= false; Point= true;
input string    t2= "----- 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 ushort    InpIndentUp                  = 50 ;                 // Indent up, in pips (1.00045-1.00055=1 pips)
input ushort    InpIndentDown                = 100 ;               // Indent down, in pips (1.00045-1.00055=1 pips)
input string    t3= "----- 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    t4= "----- 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    t5= "----- Trailing Line: 1   -----" ;               //
input string    InpObjUpName                 = "ZTOP" ;             // Obj: TOP (Horizontal Line)
input int       InpStep1                     = 0 ;                 // Obj: Шаг сетки, пунктов("0" -> false)
input ENUM_TRADE_COMMAND InpTradeCommand    = Line2_sells;       // Obj:  command:
input string    InpObjDownName               = "ZLOWER" ;           // Obj: LOWER (Horizontal Line)
input int       InpStep2                     = 0 ;                 // Obj: Шаг сетки, пунктов("0" -> false)
input ENUM_TRADE_COMMAND InTradeCommand     = Line1_buys;         // Obj:  command:
input ushort    InpObjTrailingStop           = 0 ;                 // Obj: Trailing Stop (distance from price to object, in pips)
input ushort    InpObjTrailingStep           = 5 ;                 // Obj: Trailing Step, in pips (1.00045-1.00055=1 pips)
input string    t6= "----- Trailing Line: 2   -----" ;               //
input string    InpObjUpNameG                = "POT" ;             // Obj: TOP (Horizontal Line)
input int       InpStep3                     = 0 ;                 // Obj: Шаг сетки, пунктов("0" -> false)
input ENUM_TRADE_COMMAND InpTradeCommandG   = Line2_sells;       // Obj:  command:
input string    InpObjDownNameG              = "REWOL" ;           // Obj: LOWER (Horizontal Line)
input int       InpStep4                     = 0 ;                 // Obj: Шаг сетки, пунктов("0" -> false)
input ENUM_TRADE_COMMAND InTradeCommandG    = Line1_buys;         // Obj:  command:
input ushort    InpObjTrailingStopG          = 0 ;                 // Obj: Trailing Stop (distance from price to object, in pips)
input ushort    InpObjTrailingStepG          = 5 ;                 // Obj: Trailing Step, in pips (1.00045-1.00055=1 pips)
input string    t7= "----- 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                 = "Имя Индикатора" ;   // INDICATOR_SHORTNAME
input int       InpChart                     = 0 ;                 // номер подокна
input datetime InpMonday_1                  = D'1970.01.01' ;     // Indicators(use only HH::MM)(00::00->off)
input string    t8= "----- Indicator Delete   -----" ;               //
input string    Inpshort_name_1              = "Indicator 2" ;     // INDICATOR_SHORTNAME 2
input bool      Inpres                       = false ;             // Delete All Indicators
input string    t9= "----- Button:            -----" ;               //
input ENUM_TRADE_COMMAND InpTradeCommandBut = Line2_Line2;       // Obj(BUY):  command:Button: BUY
input ENUM_TRADE_COMMAND InTradeCommandBut  = Line1_Line1;       // Obj(SELL):  command:Button: SELL
input int       TrailingStop_STOP_LEVEL      = 36 ;                 // Button: Trailing Stop LEVEL
input string    t10= "---- Line name: 1       -----" ;               //
input string    InpNameR                     = "LineR" ;           // Line name (Horizontal Line or Trend Line)
input ENUM_TRADE_COMMAND InpTradeCommandR   = open_buy;           // Trade command:
input string    t11= "---- Line name: 2       -----" ;               //
input string    InpNameS                     = "LineS" ;           // Line name (Horizontal Line or Trend Line)
input ENUM_TRADE_COMMAND InpTradeCommandS   = open_sell;         // Trade command:
input string    t12= "---- CalendarValueLast 1-----" ;               //
input datetime HoursFrom                    = D'1970.01.01' ;     // 1 Время старт Сигнал Календаря
input datetime HoursTo                      = D'1970.01.01' ;     // Время стоп Сигнал Календаря
input string    c13= "---- CalendarValueLast 2-----" ;               //
input datetime HoursFrom1                   = D'1970.01.01' ;     // 2 Время старт Сигнал Календаря
input datetime HoursTo1                     = D'1970.01.01' ;     // Время стоп Сигнал Календаря
input string    v14= "---- CalendarValueLast 3-----" ;               //
input datetime HoursFrom2                   = D'1970.01.01' ;     // 3 Время старт Сигнал Календаря
input datetime HoursTo2                     = D'1970.01.01' ;     // Время стоп Сигнал Календаря
input bool      InpCalend                    = false ;             // 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:
input string    t15= "---- Revers Buy><Sell   -----" ;               //
input bool      ObjRevers                    = false ;             //  Revers
//+------------------------------------------------------------------+

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

인간 지능과 함께 작동하지만 적응할 수 있으며 지표의 도움으로 인공 지능을 사용할 수 있습니다.

--- 내 이해에 지표는 생성된 인공 지능입니다.

파일:
 
Alexsandr San :

감사합니다 - 필요 없습니다! 건강에 사용!

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

이 버전은 개선되었습니다 - 포인트와 통화 모두에서 작동할 수 있습니다.

BUY의 정지 및 이익, SELL의 정지 및 이익은 통화와 포인트로 계산할 수 있습니다.

이 버전은 열린 위치 가 있을 때 버튼도 제거합니다. - 위치가 없을 때 버튼을 복원합니다.

파일: