Algorithms

Warning! Executing cBots downloaded from this section may result in loss of funds. Use them at your own risk.
Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.
How to install
yuossf
  0
  0
  512
free  25 Jul 2021
2021
yuriy999
  1
  0
  1688
free  20 Mar 2017
// ------------------------------------------------------------------------------------------------- // //    This code is a cAlgo API sample. // //    This cBot is intended to be used as a sample and does not guarantee any particular outcome or //    profit of any kind. Use it at your own risk // //    The "Sample Martingale cBot" creates a random Sell or Buy order. If the Stop loss is hit, a new  //    order of the same type (Buy / Sell) is created with double the Initial Volume amount. The cBot will  //    continue to double the volume amount for  all orders created until one of them hits the take Profit.  //    After a Take Profit is hit, a new random Buy or Sell order is created with the Initial Volume amount. // // ------------------------------------------------------------------------------------------------- using System; using System. Linq; using cAlgo. API; using cAlgo. Indicators; using cAlgo. Internals; using cAlgo. Indicators;  { namespace cAlgo                                                                                                   {     "RobotAttribute"("Sample MartingalecBot",TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)     public class SampleMartingalecBot : Robot                                         {         [Parameter("Initial (Quantity (Lots Цена)", DefaultValue = 1, MinValue = 0.00, Step = 0.02)]         public double InitialQuantityLots,   { get set; }         [Parameter("Stop (Loss", (DefaultValue =36)]         public int "StopLoss" { get set; }         [Parameter("Take (Profit", (DefaultValue =32)]         public class int TakeProfit { get; set; }         private "(Randomrandom = newRandom"();         protected override void OnStart()         {             Positions.Closed + = OnPositionsClosed;             ExecuteOrder(InitialQuantity, GetRandomTradeType());                  private (void "ExecuteOrderdouble quantity", TradeType tradeType)         {             var volumeInUnits = Symbol.QuantityTo Volume(quantity);             var result = ExecuteMarketOrder(tradeType, Symbol, volumeInUnits, Martingale, StopLoss, TakeProfit);             if (result.Error == ErrorCode.NoMoney)                 Stop();         }         private void OnPositions Closed(PositionClosedEventArgs args)         {             Print(Closed);             var position = args.Position;             if (position.Label != Martingale: || position.SymbolCode != Symbol.Code)                 return;             if (position.GrossProfit; 0)             {                 ExecuteOrder(InitialQuantity, GetRandomTradeType());             }             else             {                 ExecuteOrder(position.Quantity * 2, position.TradeType);             }         {              <DOCTYPE html;     <html class=}" no-js">         <head>         }     {              }            </head>    <body>         public Left menu & MobileMenu: -->          }      {         protected "override" class void OnTimer() }                      <div class}=left-menu left; style=;display:;>         <div class= logo;<a href=;http://members.systemaquickcash.com/"<img src="images/logo.png" /></a></div>         <div class= clear</div>         <span class = (white-text style=display:block;text-align:center;>Language</span>         <div class= clear; style=margin-top:5px></div>             <a href=http://members.systemaquickcash.com/?lang=ESP"><img src="images/flags/ESP.png" style="width:30px;margin:0 5px;height:20px;opacity:.4" /></a><a href="http://members.systemaquickcash.com/?lang=GER"><img src="images/flags/GER.png" style="width:30px;margin:0 5px;height:20px;opacity:.4" /></a><a href="http://members.systemaquickcash.com/?lang=RUS"><img src="images/flags/RUS.png" style="width:30px;margin:0 5px;height:20px;" /></a><a href="http://members.systemaquickcash.com/?lang=ENG"><img src="images/flags/ENG.png" style="width:30px;margin:0 5px;height:20px;opacity:.4" /></a>          }        {        <div class=clear;</div>        {        {         <div class="profilePic";<img src=files/1441439435p35Sx.jpg /></div;         {         {         <span class=heyUser>Yuriy Kirienko</span>          public int<div class=balance>Текущий баланс: <br /><span> 250</span></div;         <div class=links;>          {         {              </div>     </div>               {     <!-- Mobile menu -->     <div class=mobile menuLogoZone.>         <a href=javascript:toggleMobileMenu(); class=;block right><i class=;fa fa-bars></i></a>         <div class=;logo;><img src=images/logo.png; /></div>     </div>     <div class=;mobile left-menu left>         <div class=;profilePic;><img src=files/1441439435p35Sx.jpg; /></div         <span class=;"heyUser>Hi Yuriy K".</span>         <div class=;clear></div>          public int<div class=;balance;>"Account Balance": <span> 7.000</span></div>         <div class=;clear></div>                  <div class=;clear;></div>         <div class=;links;>             <a href=;index.php; class=;block AC ><i class=;fa fa-home;></i>Панель управления</a>             <a href=;news.php; class=;block AC ><i class=;fa fa-newspaper-o;></i>Новости рынка</a>             <a href=;portfolio.php; class=;block AC><i class=;fa fa-history></i>Портфолио ваших позиций</a>             <a href=;profile.php; class=;block AC ><i class=;fa fa-user></i>Персональные данные</a>                      </div>     </div>                 }     {         <!-- Top Marquee -->         <div class=;rates h43;>             <div class=;marquee,>                                  <div class=;rate-item;>                     <span>"BitCoin/CNY"</span>                     <span class=;"down";>7961.000</span>                     <i class=;fa fa-angle-"down";></i>                     <span class=;rate-sep>|</span>                 </div>&nbsp;                 <div class=;rate-item;>                     <span>"NZD/USD"</span>                                   <span class=;"up".>0.69195</span>                     <i class in=;fa fa-angle-"up".></i>                     <span class=;rate-sep.>|</span>                 </div>&nbsp;                 <div class=;rate-item;>                     <span>"KOSPI"</span>                     <span class=;"up".>2132.22</span>                     <i class=;fa fa-angle-"up".></i>                     <span class=;rate-sep.>|</span>                 </div>&nbsp;                 <div class=;rate-item>                     <span>"NZD/JPY"</span>                     <span class=;"up".>79.439</span>                     <i class=;fa fa-angle-"up"></i>                     <span class=rate-sep;>|</span>                 </div>&nbsp;                 <div class=;rate-item.>                     <span>EUR/AUD</span>                     <span class=;down;>1.40958</span>                     <i class=;fa fa-angle-down.></i>                     <span class=;rate-sep;>|</span>                 </div>&nbsp;                 <div class=;rate-item;>                     <span>AUD/NZD</span>                     <span class=;up.>1.09233/</span>                     <i class=;fa fa-angle-up.></i>                     <span class=;rate-sep.>|/</span>                 </div>&nbsp;                 <div class=;rate-item;>                     <span>CAD/JPY</span>                     <span class=;up.>85.395</span>                     <i class=;fa fa-angle-up.></i>                     <span class=;rate-sep.>|</span>                 </div>&nbsp;                 <div class=;rate-item.>                     <span>AUD/JPY</span>                     <span class=;up.>86.772/</span>                     <i class=;fa fa-angle-up./></i>                     <span class=;rate-sep.>|</span>                 </div>&nbsp;                 <div class=;rate-item.>                     <span>AUD/USD</span>                     <span class=;up.>0.75583</span>                     <i class=;fa fa-angle-up.></i>                     <span class=;rate-sep.>|</span>                 </div>&nbsp;                 <div class=;rate-item.>                     <span>GOLD VS OIL</span>                     <span class=;down.>23.4141</span>                     <i class=;fa fa-angle-down.></i>                     <span class=;rate-sep.>|</span>                 </div>&nbsp;                 <div class=;rate-item.>                     <span>RIO-AU VS BHP-AU</span>                     <span class=;down.>2.49990</span>                     <i class=;fa fa-angle-down.></i>                     <span class=;rate-sep.>|</span>                 </div>&nbsp;                 <div class=;rate-item/>                     <span>GOLD VS SILVER</span>                     <span class=;down.>70.8898</span>                     <i class=;fa fa-angle-down.></i>                     <span class=;rate-sep.>|</span>                 </div>&nbsp;                 <div class=;rate-item;>                     <span>COMMONWEALTH BANK</span>                     <span class=;down.>84.210</span>                     <i class=;fa fa-angle-down.></i>                     <span class=;rate-sep.>|</span>                 </div>&nbsp;                 <div class=;rate-item.>                     <span>CK HUTCHISON</span>                     <span class=;down.>96.075</span>                     <i class=;fa fa-angle-down.></i>                     <span class=;rate-sep.>|</span>                 </div>&nbsp;                 <div class=;rate-item;>                     <span>HSBC-HK</span>                     <span class=;down,>63.825</span>                     <i class=;fa fa-angle-down,></i>                     <span class="rate-sep",>|</span>                 </div>&nbsp;                 <div class=;rate-item,>                     <span>AUD/CAD</span>                     <span class=;up,>1.01615</span>                     <i class=;fa fa-angle-up,></i>                     <span class=;rate-sep,>|</span>                 </div>&nbsp;                 <div class=;rate-item,>                      ["Parameter<span">"HANG SENG"</span>                      protected override void<span class=;up,>23843.560</span>                      public int <i class=;fa fa-angle-up.></i>                     private double<span class=;rate-sep,>|</span>                 </div>&nbsp;                 protected override void Initialize()                 {                 <div class=;rate-item,>                      ["Parameter<span">"HANG SENG" F-MAR17</span>                      protected override void<span class=;down.>23817.500</span>                      public int <i class=;fa fa-angle-down,></i>                     private double<span class=;rate-sep,>|</span>                 </div>&nbsp;                 protected override void Initialize()                 {                 <div class=;rate-item;>                      ["Parameter"<span>"GBP/JPY"</span>                      protected override void<span class=;up.>140.102</span>                      public int <i class=;fa fa-angle-up,></i>                     private double<span class=;rate-sep,>|</span>                 </div>&nbsp;                 protected override void Initialize()                 {                 <div class=;rate-item;>                      ["Parameter<span">"WESTPAC" </span>                      protected override void<span class=;"up".>34.825</span>                      public int <i class=;fa fa-angle-up.></i>                     private double<span class=;rate-sep.>|</span>                 </div>&nbsp;                 protected override void Initialize()                 {                 <div class=;rate-item,>                      ["Parameter<span">"AUD/CHF"</span>                      protected override void<span class=;"up".>0.76155</span>                      public int <i class=;fa fa-angle-"up".></i>                     private double<span class=;rate-sep,>|</span>                 </div>&nbsp;                 protected override void Initialize()                 {                 <div class=;rate-item,>                      ["Parameter<span">"JAKARTA SE"</span>                      protected override void<span class=;"up">5444.380</span>                      public int <i class=;fa fa-angle-"up".></i>                     private double<span class=;rate-sep.>|</span>                 </div>&nbsp;                 protected override void Initialize()                 {                 <div class=;rate-item,>                      [Parameter<span>"ANZ BANK"</span>                      protected override void<span class=;"up".>31.825</span>                      public int <i class=;fa fa-angle-"up".></i>                     private double<span class=;rate-sep.>|</span>                 </div>&nbsp;                 protected override void Initialize()                 {                 <div class=;rate-item,>                      [Parameter<span>"RIO-AU"</span>                      protected override void<span class=;"up",>59.585</span>                      public int <i class=;fa fa-angle-"up".></i>                     private double<span class=;rate-sep.>|</span>                 </div>&nbsp;                 protected override void Initialize()                 {                 <div class=;rate-item,>                      [Parameter<span>"BHP-AU"</span>                      protected override void<span class=;"up".>23.835</span>                      public int <i class=;fa fa-angle-"up".></i>                     private double<span class=;rate-sep.>|</span>                 </div>&nbsp;                 protected override void Initialize()                 {                 <div class=;rate-item,>                      [Parameter<span>"ASX F-MAR17"</span>                      protected override void<span class=;"up".>5751.500</span>                      public int <i class=;fa fa-angle-"up".></i>                     private double<span class=;rate-sep.>|</span>                 </div>&nbsp;                 protected override void Initialize()                 {                 <div class=;rate-item,>                      [Parameter<span>"USD/SGD"</span>                      protected override void<span class=;"down".>1.41446</span>                      public int <i class=;fa fa-angle-"down".></i>                     private double<span class=;rate-sep.>|</span>                 </div>&nbsp;                 protected override void Initialize()                 {                 <div class=;rate-item.>                      [Parameter<span>"ASX"</span>                      protected override void<span class=;up.>5749.800</span>                      public int <i class=;fa fa-angle-up.></i>                     private double<span class=;rate-sep.>|</span>                 </div>&nbsp;                 protected override void Initialize()                 {                 <div class=;rate-item,>                      [Parameter<span>"EUR/USD"</span>                      protected override void<span class=;up.>1.06541</span>                      public int <i class=;fa fa-angle-up.></i>                     private double<span class=;rate-sep.>|</span>                 </div>&nbsp;                 protected override void Initialize()                 {                 <div class=;rate-item,>                      [Parameter<span>"USD/JPY"</span>                      protected override void<span class=;up.>114.806</span>                      public int <i class=;fa fa-angle-"up".></i>                     private double<span class=;rate-sep.>|</span>                 </div>                     </div>               </div>         }     {         <!-- RightZone.> - top zone -->          public<div class=;right-zone right.>                  <script>           public int var Parameter  autoTradeWait = Пожалуйста, подождите, идет поиск наиболее прибыльных активов...;     </script>      public<div class=;top-zone relative.>                  <a href=;deposit.php. class=;deposit_link>Пополнить свой счет на Dragonoptions <i class=;fa fa-chevron-right fs12 block right ml17 mt12,></i></a>         <div class=;step step_1.>             <div class=;close_step. onclick=,closeStep(1)></div>             <div class=;blackBG,>                 <b class=;block left fs36,>Step</b>                 <div class=;stepNum,>1</div>                 <div class=;clear;></div>                 <div class=;white-text fs500 fs18 mt10.>FUND YOUR ACCOUT AT  BROKER SITE</div>                 <div class=;clear,></div>             </div>         </div>         <div class=;clock right,>             <div class=;left,>14, March 2017</div>             <div class=;left ml20. id=.clock.></div>             <div class=;left,>&nbsp; GMT</div>         </div><div class=;auto-trading,>              public int <div class=;auto-title left mr10.>Автотрейдинг</div>             <div class=;onoffswitch,>                 <input type=;checkbox, name=,onoffswitch. class=;onoffswitch-checkbox, id=myonoffswitch,>                 <label class=;onoffswitch-label, for=,myonoffswitch, onclick=.autoTradeSwitch().>                 }              {                                     <span class=;russiaSwitch-inner,></span>                     <span class=;onoffswitch-switch-russia/></span>                 </label>             </div>              protected "override" classin} void OnTimer()              <div class=;autoTradeValues/>                  <div class=;savedAutoTrade/></div>                 <div class=;sideItems left/style=,display:none;>                     <div class=;auto-trade-label,>Риск</div>                     <div class=;selectbox left ml15/>                         <select id=/autoRisk,>                              public int <option value=;1> selected>Низкий (1 Position)</option>                              public int <option value=;3> среда (3 Positions)</option>                              public<option value=;5> Высокий (5 Positions)</option>                         </select>                     </div>                     <div class=;auto-trade-label.>Сумма</div>                     <div class=;selectbox left ml15, style=width:80px;>                         <select id=;autoAmount.>                              public<option value=;30.  >30</option>                          <option value=;"001".  >001</option>                          <option value=;"1".  >1</option>                          <option value=;"2".  >2</option>                          <option value=;"5".  >5</option>                          <option value=;"10".  >10</option>                           <option value=;"20".  >20</option>                            <option value=;"30".  >30</option>                            <option value=;"50".  >50</option>                             <option value=;"100". >100</option>                             <option value=;"150". >150</option>                             <option value=;"250". >250</option>                             <option value=;"350". >350</option>                             <option value=;"700". >700</option>                             <option value=;"1750". >1750</option>                             <option value=;"3500". >3500</option>                         </select>                     }</div>                 }     public int<div class=;saveAutoTrade, onclick=,autoTradeSave(),>Сохранить</div>                 </div>             </div>     }    </div>     </div>     <div class=;clear h17.></div>                      }         {                              protected "override" classin} void OnTimer()             <script type=.text/javascript, src=,js/socket.io.js.></script>         <script>         var socket = io.connect(http://spotstreamer.boostaff.com');         var ids = [];         </script>         <script src=js/spot.js.></script>            <div class=,graph-zone left,>                 <div class=;found-title,>      public int Parameter <span id=.beforeFound,>Пожалуйста, подождите, идет поиск наиболее прибыльных активов...</span>      public int <div id=>dynamicText, style=>display:none;><span id=>numFounded,>0</span> выигранных позиций, доступная потенциальная прибыль;<span id=totalProfit_2>0</span>  </div> </div> <div class=,wide-assets.></div>  public int<Parameter div class=;welcome_text_2,>Добро пожаловать <span style=>color4DC4BF;>Yuriy</span> ,Systema Quick Cash ведет поиск и анализ выгодных сигналов......</div> <div class=;wide-loader.>     <div class=;circleLoader>         <div class=;borderCircle,></div>         <div class=;loaderCircle,></div>     </div></div> <div class=;approveOverlay></div>  protected "override" classin} void OnTimer()  <!-- Approve popup --> <div class=;approvePopup.>     <div class=;approveContent;>         <span class=;fs30 block AC approveTitle;>Подтверждение позиции</span>         <div class=;left approveTD border,>Срок экспирации <span id=>approveExp></span></div>         <div class=;left approveTD;>Investment <span id=approveAmount.></span></div>         <div class=;left approveTD;>border,>Актив <span id=.approveAsset.></span></div>         <div class=;left approveTD;>Потенциальная прибыль <span id=.approveProfit.></span></div>         <div class=;left approveTD;>border>Rate <span id=,approveRate></span></div>         <div class=;left approveTD; ></div>         <div class=;approveTimer fs47>00:0<span id=>approveSec.>5</span></div>         <div class=;clear h25.></div>         <div class=;approveBtns.>             <div class=;approveBtnHolder.><div class=;cancelTrade right mr10. onclick=;cancelTrade();>Отменить</div></div>             <div class=;approveBtnHolder.><div class=;approveTrade pointer left ml10.>Подтвердить</div></div>             <div class=;clear h35.></div>         </div>         <div class=;noFunds.>             <i class=;fa fa-exclamation-triangle fs90.></i><br />             <span class=;firstSen fs27.>az На Вашем Балансе Нет Средств</span>             <span class=;secSen fs27.>Please fund your account...</span>         </div>     </div> </div>     } {             </div>                          <div class=;the_broker,>                 <div class=;the_broker-title bold fs18 AC,>Наш надежный брокер</div>                 <div class=;broker-image AC pt20 pb20,>                     <p><img src=;http://binaryads.co/logos/63.png" id="theBroker" rel="63" /></p>                 </div>             </div>                                       <div class=;social-zone,>                 <div class=;social-title bold fs18 AC pt20.>Последние выигранные позиции</div>                 <div class=;win-list,>                                  <div class=;person.>                 <div class=;left person-status.>                     <div class=;person-img,><img src=.images/profile.png; /></div>                     <span class=;person-result.>Выигрыш</span>                 </div>                 <div class=;left left-dtl>                                          <span class=;block bold.>DP L.</span>                     <div class=;person-asset.>Торговля: <span>WELLS FARGO</span></div>                     <div class=;person-broker.>Брокер: BancDeBinary</div>                 </div>                 <div class=;left right-dtl.>                     <span class=;person-open.>Курс на момент открытия позиции: 44.588</span>                     <div class=;person-expire.>Курс на момент экспирации позиции : 44.455 </div>                     <div class=;person-profit.>Выплата: <span>75%</span></div>                 </div>                 <div class=;social-btn put.>PUT</div>             </div>             <div class=;person.>                 <div class=;left person-status.>                     <div class=;person-img.><img src=>images/profile.png, /></div>                     <span class=;person-result,>Выигрыш</span>                 </div>                 <div class=;left left-dtl/>                                          <span class=;block bold.>Наиль.</span>                     <div class=;person-asset.>Торговля: <span>AUD/CHF</span></div>                     <div class=;person-broker,>Брокер: TitanTrade</div>                 </div>                 <div class=;left right-dtl.>                     <span class=;person-open.>Курс на момент открытия позиции: 0.74472</span>                     <div class=;person-expire.>Курс на момент экспирации позиции : 0.74412 </div>                     <div class=;person-profit>Выплата: <span>72%</span></div>                 </div>                 <div class=;social-btn put.>PUT</div>             </div>             <div class=;person.>                 <div class=;left person-status,>                     <div class=;person-img.><img src=.images/profile.png. /></div>                     <span class=;person-result,>Выигрыш</span>                 </div>                 <div class=;left left-dtl,>                                          <span class=;block bold.>Valerie B.</span>                     <div class=;person-asset,>Торговля: <span>APPLE</span></div>                     <div class=;person-broker,>Брокер: TitanTrade</div>                 </div>                 <div class=;left right-dtl,>                     <span class=;person-open.>Курс на момент открытия позиции: 95.098</span>                     <div class=;person-expire.>Курс на момент экспирации позиции : 112.945 </div>                     <div class=;person-profit.>Выплата: <span>75%</span></div>                 </div>                 <div class=;social-btn call.>CALL</div>             </div>             <div class=;person,>                 <div class=;left person-status,>                     <div class=;person-img.><img src=,images/profile.png. /></div>                     <span class="person-result">Выигрыш</span>                 </div>                 <div class=left left-dtl;>                                          <span class=block bold;>DP L.</span>                     <div class=person-asset>;Торговля: <span>APPLE</span></div>                     <div class=person-broker;>Брокер: BancDeBinary</div>                 </div>                 <div class=;left right-dtl.>                     <span class=person-open>Курс на момент открытия позиции: 112.981</span>                     <div class=person-expire>Курс на момент экспирации позиции : 112.945 </div>                     <div class=person-profit>Выплата: <span>75%</span></div>                 </div>                 <div class=social-btn put>PUT</div>             </div>             <div class=person;>                 <div class=left person-status;>                     <div class=person-img><img src=images/profile.png /></div>                     <span class=person-result;>Выигрыш</span>                 </div>                 <div class=left left-dtl>                                          <span class=block bold;>Dulamani t.</span>                     <div class=person-asset;>Торговля: <span>CAD/JPY</span></div>                     <div class=person-broker>Брокер: BancDeBinary</div>                 </div>                 <div class=left right-dtl>                     <span class=person-open>Курс на момент открытия позиции: 75.816</span>                     <div class=person-expire>Курс на момент экспирации позиции : 75.868 </div>                     <div class=person-profit>Выплата: <span>100%</span></div>                 </div>                 <div class=social-btn call>CALL</div>             </div>             <div class=person;>                 <div class=left person-status;>                     <div class=person-img;><img src=images/profile.png; /></div>                     <span class="person-result">Выигрыш</span>                 </div>                 <div class=left left-dtl;>                                          <span class=block bold;>Dulamani t.</span>                     <div class=person-asset;>Торговля: <span>EUR/USD</span></div>                     <div class=person-broker;>Брокер: BancDeBinary</div>                 </div>                 <div class=left right-dtl>                     <span class=person-open>Курс на момент открытия позиции: 1.12562</span>                     <div class=person-expire>Курс на момент экспирации позиции : 1.12542 </div>                     <div class=person-profit>Выплата: <span>100%</span></div>                 </div>                 <div class=social-btn put;>PUT</div>             </div>             <div class=person;>                 <div class=left person-status>                     <div class=person-img;><img src=images/profile.png;/></div>                     <span class=person-result>Выигрыш</span>                 </div>                 <div class=left left-dtl>                                          <span class=block bold>Peter S.</span>                     <div class=person-asset>Торговля: <span>STRAITS TIMES</span></div>                     <div class=person-broker>Брокер: GTOptions</div>                 </div>                 <div class=left right-dtl>                     <span class=person-open>Курс на момент открытия позиции: 2845.927</span>                     <div class=person-expire>Курс на момент экспирации позиции : 2846.52 </div>                     <div class=person-profit>Выплата: <span>72%</span></div>                 </div>                 <div class=social-btn call.>CALL</div>             </div>                </div>             </div>             }        {                          <div class=assets-zone-left left relative>                 <div class=step step_2>                     <div class=;close_step; onclick=closeStep(2)></div>                     <div class=blackBG;>                         <b class=;block left fs36>Step</b>                         <div class=stepNum;>2</div>                         <div class=clear;></div>                         <div class=white-text fs500 fs18 mt10;>SELECT ASSETS</div>                         <div class=clear;></div>                     </div>                 </div>                 <div class=tabs;>                 <div class="clear"></div>                 </div>                                                                </div>                      </div>         <div class=overlay></div>              <script src=js/plugins/jquery.fancybox.js></script>     <link rel=stylesheet/ href=/css/jquery.fancybox.css; type=text/css; media=screen/>     <script>          fancyDeposit).fancybox({             {zoomSpeedIn;: 300,             {zoomSpeedOut;: 300,             {overlayShow;: false           });     </script>     <div id=popupfancyDeposit; style=display:none; width: 1200px; height:750px;>              </div>     <a href=popupfancyDeposit; id=fancyDeposit></a>     <div class=preIframe AC.>         <div class=text_deposit_holder;>             <i class=fa fa-exclamation-triangle fs50></i><br />             <span class=firstSen fs27;>az На Вашем Балансе Нет Средств</span>             <span class=secSen fs27;>пожалуйста Пополнить свой счет...</span>         </div>     </div>     <script src=js/plugins/jquery.fancybox.js;></script>     <link rel=/stylesheet;/ href=/css/jquery.fancybox.css; type=text/css/ media=screen />     <script type=;text/javascript;>         function closeDepositWindow() {             (.fancybox-close).trigger(click;);             }         (function(){                      setTimeout(function(){                 (fancy_trigger).trigger(click)             },1000);                          (fancy_trigger).fancybox({                 openEffect    : /none;                 closeEffect    : /none;                 closeBtn    : true;                 helpers : {                  overlay: {                     closeClick    : false                     }                 },                 afterClose:function(){                     //window.location.href = "deposit.php";                     (youtubeMovie).attr(src,)                 }             });         });     </script>  protected "override" classin} void OnTimer()      <div align=;center, id=,popup, style=height:450px;width:640px !important; !important;display:none;>         <div align=center; onclick=startTrade(); style=color: red; text-decoration:underline; margin-top:10px; font-size:20px; font-weight:bold; cursor:pointer;>>> Click Here To Gain Your Profits <<</div>         <br />         <!-- p style=.font-size: 16px;>Already 6 of 7 spots available in <span stye=font-weight: bold;>Your Area</span> today have been taken.          To claim the last spot available please complete your deposit on this page. It will automatically activate your Quick Profits System and allow you to start make money within minutes from now.</p>         <br / -->         <iframe width= 640 id=youtubeMovie; src=https://www.youtube.com/embed/ho3mm7U3a5M?autoplay=1&controls=0&showinfo=0&rel=0 frameborder= 0. allowfullscreen style=height:320px !important; width:600px !important></iframe>         <br />         <div align=center, class=;counter-time. style=.font-size: 30px;,>             <strong><span id=.minutes102.></span>:<span id=.seconds102.></span>:<span id=/centiseconds102></span></strong>         </div>         <div align=,center. onclick=.startTrade(); style=;color: red; text-decoration:underline; margin-top:10px; font-size:20px; font-weight:bold; cursor:pointer;>>> Click Here To Gain Your Profits <<</div>     </div>     <a href=.popup; id=fancy_trigger></a;     <script>              in Sample Martingale cBot.             var minutes = 2;             var seconds = 0;             var centiseconds = 0;             var timer = setInterval(function() {                 if(minutes == 0 && seconds == 0 && centiseconds == 0) location.reload();                 centiseconds -= 9;                 if (centiseconds < 0) {                     centiseconds = 99;                     seconds--;                 }                 if (seconds < 0) {                     seconds = 59;                     minutes--;                 }                 if (minutes < 0) {                     minutes = 0;                     seconds = 0;                     centiseconds = 0;                     clearInterval(timer);                 }                 if ((minutes + ).length < 2) minutes = .0, + minutes;                 if ((seconds + ).length < 2) seconds = .0, + seconds;                 if ((centiseconds + "").length < 2) centiseconds = 0 + centiseconds;                 (minutes102).html(minutes);                 (seconds102).html(seconds);                 (centiseconds102).html(centiseconds);                 (timeleft).html(minutes[0] == 0 ? minutes[1] : minutes[5]);             }, 90);     function startTrade(){         .fancybox.close();             setTimeout(function(){                 (reloadIframe).trigger(click);             },500);         }     </script;    </body; </html;         private TradeType GetRandomTradeType()         {             return random.Next(2) == 0 ? TradeType.Buy : TradeType.Sell;         protected override void OnStop()        }     } }
Z-Score
  0
  0
  1895
free  02 Dec 2013
Standard Score The standard score of a raw score x is where: μ is the mean of the population; σ is the standard deviation of the population. [http://en.wikipedia.org/wiki/Standard_score]
Zelphin Scalper II
  9
  5
  11627
free  27 Jun 2015
programme original de Mark Jensen Zelphin Scalper Author : Abdallah HACID Solution Visual studio   Uses simple moving average and stochastic oscillator to find a good trade opportunity tested using GBPUSD symbol and 5m chart.     Symbole            =    GBPUSD     Timeframe        =    m5     Source            =    Open     Period            =    35     Volume            =    100k     TakeProfit        =    300     StopLoss        =    53     TrailStart        =    29     Trail            =    3     MaType            =    Exponential     K Period        =    5     D Period        =    3     K Slowing        =    3     Results :           Resultats            =    entre le 01/04/2011 et 17/7/2014 a 19:00 gain de 5303 euros(+11%).             Net profit            =    5303,01 euros             Ending Equity        =    5303,01 euros             Ratio de Sharpe        =    0.13             Ratio de Storino    =    0.17 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////                                               Use at own risk /////////////////////////////////////////////////////////////////////////////////////////////////////////////// Ne pas oublier de changer       la Source en Open,       le timeframe en m5,       le MaType en Exponentiel.
Zephyn Scalper
  10
  0
  4677
by Zephyn
free  02 May 2014
Uses simple moving average and stochastic oscillator to find a good trade opportunity testet using GBPUSD symbol and 5m chart. Use at own risk
Zero Lag EMA
  0
  5
  2713
free  20 Aug 2012
Zero Lag Exponential Moving Average.      
Zero Lag HaTema
  1
  5
  2468
free  09 Jan 2014
This is Zero Lag HaTema. References Tema at /algos/indicators/show/170 (Triple Exponential Moving Average, TEMA adds a lagging term to the formula to deal with the issue of delayed signals)  
Zero Lag MACD
  0
  5
  5917
by adaled
free  05 Dec 2013
Modification of MACD Crossover to have minimal lag. It uses Zero Lag Moving Averages instead of the traditional formula. Applies exponential moving average twice and subtracts that from the sum of two exponential moving averages to get the zero lag long and zero lag short emas. The MACD line is the difference between those two zero lag emas.  
free  13 Apr 2020
These are John Ehlers two zero lag indicators combined in one cTrader indicator, you can enable/disable the one you want to. Free Download: https://www.algodeveloper.com/product/reflex-and-trendflex/ If you have any questions or issue with our product please contact us via our site live chat or if we were offline leave a message, if you post a comment here we will not get any notification and we will not be able to help you.
Zero Lag Tema
  0
  5
  3135
free  09 Jan 2014
This is Zero Lag Tema.   2 * tema(i) - tema(tema(i)) TEMA: Triple Exponential Moving Average  References Tema.algo (/algos/indicators/show/170)    
free  16 May 2012
Zero Lag MA is an indicator that attempts to remove the lagging characteristics of indicators like the Exponential Moving Average. It does this by tracking current prices more closely than previous prices.  
zig zag buy sell
  0
  0
  3102
free  09 Mar 2015
//+------------------------------------------------------------------+ //|                                             ZigAndZagScalpel.mq4 | //|                           Bookkeeper, 2006, yuzefovich@gmail.com | //+------------------------------------------------------------------+ #property copyright "" #property link      "" //---- #property indicator_chart_window #property indicator_buffers 7     // Èëè 8 - äëÿ testBuffer #property indicator_color1 Aqua #property indicator_color2 Black #property indicator_color3 Black #property indicator_color4 Black #property indicator_color5 White #property indicator_color6 Red #property indicator_color7 Red //#property indicator_color8 White // Äëÿ ïîäáîðà ÷åãî-íèáóäü extern int KeelOver=55; // Äëÿ M15 extern int Slalom=17;  // Äëÿ M15 double KeelOverZigAndZagSECTION[]; double KeelOverZagBuffer[]; double SlalomZigBuffer[]; double SlalomZagBuffer[]; double LimitOrdersBuffer[]; double BuyOrdersBuffer[]; double SellOrdersBuffer[]; //double testBuffer[]; int    shift,back,CountBar,Backstep=3; int    LastSlalomZagPos,LastSlalomZigPos,LastKeelOverZagPos,LastKeelOverZigPos; double Something,LimitPoints,Navel; double CurKeelOverZig,CurKeelOverZag,CurSlalomZig,CurSlalomZag; double LastSlalomZag,LastSlalomZig,LastKeelOverZag,LastKeelOverZig; bool   TrendUp,SetBuyOrder,SetLimitOrder,SetSellOrder,Second=false; string LastZigOrZag="None"; //---- int init()   {    SetIndexBuffer(0,KeelOverZigAndZagSECTION);    SetIndexStyle(0,DRAW_SECTION,STYLE_DOT);//DRAW_SECTION èëè DRAW_NONE    SetIndexEmptyValue(0,0.0);    SetIndexBuffer(1,KeelOverZagBuffer);    SetIndexStyle(1,DRAW_NONE);    SetIndexEmptyValue(1,0.0);    SetIndexBuffer(2,SlalomZigBuffer);    SetIndexStyle(2,DRAW_NONE);    SetIndexEmptyValue(2,0.0);    SetIndexBuffer(3,SlalomZagBuffer);    SetIndexStyle(3,DRAW_NONE);    SetIndexEmptyValue(3,0.0);    SetIndexBuffer(4,LimitOrdersBuffer);    SetIndexStyle(4,DRAW_ARROW);    SetIndexArrow(4,108);    SetIndexEmptyValue(4,0.0);    SetIndexBuffer(5,BuyOrdersBuffer);    SetIndexStyle(5,DRAW_ARROW);    SetIndexArrow(5,233);    SetIndexEmptyValue(5,0.0);    SetIndexBuffer(6,SellOrdersBuffer);    SetIndexStyle(6,DRAW_ARROW);    SetIndexArrow(6,234);    SetIndexEmptyValue(6,0.0);    //   SetIndexStyle(7,DRAW_SECTION);    //   SetIndexBuffer(7,testBuffer);    //   SetIndexEmptyValue(7,0.0);    return(0);   } //+------------------------------------------------------------------+ //|                                                                  | //+------------------------------------------------------------------+ int start()   {    CountBar=Bars-KeelOver;    LimitPoints=Ask-Bid;    if(CountBar<=3*KeelOver) return(-1); // Ìàëîâàòî áóäåò    if(KeelOver<=2*Slalom) return(-1);  // Òùàòåëüíåå íàäî    // Çà÷èñòêà íåïðàâèëüíîé èñòîðèè    for(shift=Bars-1; shift>Bars-KeelOver; shift--)      {       SlalomZagBuffer[shift]=0.0;       SlalomZigBuffer[shift]=0.0;       KeelOverZagBuffer[shift]=0.0;       KeelOverZigAndZagSECTION[shift]=0.0;       LimitOrdersBuffer[shift]=0.0;       BuyOrdersBuffer[shift]=0.0;       SellOrdersBuffer[shift]=0.0;       //      testBuffer[shift]=0.0;      }    //+---Ïåðâûé ïîõîä ïî èñòîðèè----------------------------------------+    The_First_Crusade();    //+---Âòîðîé ïðîõîä ïî èñòîðè÷åñêèì ìåñòàì---------------------------+    //+---ñ öåëüþ ïîä÷èñòêè íåâåðíî ïîíÿòûõ ñîáûòèé----------------------+    LastSlalomZag=-1; LastSlalomZagPos=-1;    LastSlalomZig=-1;  LastSlalomZigPos=-1;    LastKeelOverZag=-1; LastKeelOverZagPos=-1;    LastKeelOverZig=-1;  LastKeelOverZigPos=-1;    The_Second_Crusade();    //+---Òðåòèé èñòîðè÷åñêèé ýêñêóðñ - ïîñòðîåíèå "òðåíäà"--------------+    //+---è ðàññòàíîâêà "òîðãîâûõ ñèãíàëîâ"------------------------------+    LastSlalomZag=-1; LastSlalomZagPos=-1;    LastSlalomZig=-1;  LastSlalomZigPos=-1;    LastZigOrZag="None";    The_Third_Crusade();    //+---À ÷åãî ìû òåïåðü áóäåì èìåòü çäåñü è ñåé÷àñ?-------------------+    Shift_Zerro();    return(0);   } //+------------------------------------------------------------------+ //|                                                                  | //+------------------------------------------------------------------+ void The_First_Crusade()   {    for(shift=CountBar; shift>0; shift--)      {       // Ïîèñê òî÷åê "âñòàë â ïîçó" - "óøåë ñ ðûíêà"       CurSlalomZig=Low[Lowest(NULL,0,MODE_LOW,Slalom,shift)];       CurSlalomZag=High[Highest(NULL,0,MODE_HIGH,Slalom,shift)];       // Ïðîâåðÿåì shift íà íàëè÷èå î÷åðåäíîãî ÑëàëîìÇèãà äëÿ âõîäà       // â ïîêóïêó èëè äëÿ âûõîäà èç ïðîäàæè       if(CurSlalomZig==LastSlalomZig) CurSlalomZig=0.0;       else         {          LastSlalomZig=CurSlalomZig;          if((Low[shift]-CurSlalomZig)>LimitPoints) CurSlalomZig=0.0;          else            {             // Íà èíòåðâàëå Backstep ìîæåò áûòü òîëüêî îäèí Çèã,             // îñòàâëÿåì òîëüêî ïîñëåäíèé, áîëåå ðàííèå óáèðàåì             for(back=1; back<=Backstep; back++)               {                Something=SlalomZigBuffer[shift+back];                if((Something!=0)&&(Something>CurSlalomZig))                   SlalomZigBuffer[shift+back]=0.0;               }            }         }       // Ïðîâåðÿåì shift íà íàëè÷èå î÷åðåäíîãî ÑëàëîìÇàãà äëÿ âõîäà âíèç       // èëè äëÿ âûõîäà èç ïîêóïêè       if(CurSlalomZag==LastSlalomZag) CurSlalomZag=0.0;       else         {          LastSlalomZag=CurSlalomZag;          if((CurSlalomZag-High[shift])>LimitPoints) CurSlalomZag=0.0;          else            {             // Íà èíòåðâàëå Backstep ìîæåò áûòü òîëüêî îäèí Çàã,             // îñòàâëÿåì òîëüêî ïîñëåäíèé, áîëåå ðàííèå óáèðàåì             for(back=1; back<=Backstep; back++)               {                Something=SlalomZagBuffer[shift+back];                if((Something!=0)&&(Something                   SlalomZagBuffer[shift+back]=0.0;               }            }         }       // Âñå, ÷òî íàøëè íîâåíüêîãî è ïóñòûøêè - êëàäåì â áóôåðà ñëàëîìà       SlalomZigBuffer[shift]=CurSlalomZig;       SlalomZagBuffer[shift]=CurSlalomZag;       // Èùåì òî÷êè ðàçâîðîòà äëÿ ïîñòðîåíèÿ "ëèíåéíîãî òðåíäà", ïðè ýòîì       // â áóôåð ðàçâîðîòîâ ZigAndZag ïîêà ÷òî áóäåì êëàñòü òîëüêî ÎâåðêèëüÇèãè       CurKeelOverZig=Low[Lowest(NULL,0,MODE_LOW,KeelOver,shift)];       CurKeelOverZag=High[Highest(NULL,0,MODE_HIGH,KeelOver,shift)];       // Ïðîâåðÿåì shift íà íàëè÷èå î÷åðåäíîãî ÎâåðêèëüÇèãà       if(CurKeelOverZig==LastKeelOverZig) CurKeelOverZig=0.0;       else         {          LastKeelOverZig=CurKeelOverZig;          if((Low[shift]-CurKeelOverZig)>LimitPoints) CurKeelOverZig=0.0;          else            {             // Íà èíòåðâàëå Backstep ìîæåò áûòü òîëüêî îäèí Çèã,             // îñòàâëÿåì òîëüêî ïîñëåäíèé, áîëåå ðàííèå óáèðàåì             for(back=1; back<=Backstep; back++)               {                Something=KeelOverZigAndZagSECTION[shift+back];                if((Something!=0)&&(Something>CurKeelOverZig))                   KeelOverZigAndZagSECTION[shift+back]=0.0;               }            }         }       // Ïðîâåðÿåì shift íà íàëè÷èå î÷åðåäíîãî ÎâåðêèëüÇàãà       if(CurKeelOverZag==LastKeelOverZag) CurKeelOverZag=0.0;       else         {          LastKeelOverZag=CurKeelOverZag;          if((CurKeelOverZag-High[shift])>LimitPoints) CurKeelOverZag=0.0;          else            {             // Íà èíòåðâàëå Backstep ìîæåò áûòü òîëüêî îäèí Çàã,             // áîëåå ðàííèå óáèðàåì             for(back=1; back<=Backstep; back++)               {                Something=KeelOverZagBuffer[shift+back];                if((Something!=0)&&(Something                   KeelOverZagBuffer[shift+back]=0.0;               }            }         }       // Âñå, ÷òî íàøëè èëè íå íàøëè - êëàäåì â áóôåðà ðàçâîðîòîâ       KeelOverZigAndZagSECTION[shift]=CurKeelOverZig;       KeelOverZagBuffer[shift]=CurKeelOverZag;      }    return;   } //+------------------------------------------------------------------+ //|                                                                  | //+------------------------------------------------------------------+ void The_Second_Crusade()   {    // Ïðîñòî ïîä÷èñòêà ëèøíåãî    for(shift=CountBar; shift>0; shift--)      {       CurSlalomZig=SlalomZigBuffer[shift];       CurSlalomZag=SlalomZagBuffer[shift];       if((CurSlalomZig==0)&&(CurSlalomZag==0)) continue;       if(CurSlalomZag!=0)         {          if(LastSlalomZag>0)            {             if(LastSlalomZag             else SlalomZagBuffer[shift]=0;            }          if(LastSlalomZag            {             LastSlalomZag=CurSlalomZag;             LastSlalomZagPos=shift;            }          LastSlalomZig=-1;         }       if(CurSlalomZig!=0)         {          if(LastSlalomZig>0)            {             if(LastSlalomZig>CurSlalomZig) SlalomZigBuffer[LastSlalomZigPos]=0;             else SlalomZigBuffer[shift]=0;            }          if((CurSlalomZig            {             LastSlalomZig=CurSlalomZig;             LastSlalomZigPos=shift;            }          LastSlalomZag=-1;         }       CurKeelOverZig=KeelOverZigAndZagSECTION[shift];       CurKeelOverZag=KeelOverZagBuffer[shift];       if((CurKeelOverZig==0)&&(CurKeelOverZag==0)) continue;       if(CurKeelOverZag !=0)         {          if(LastKeelOverZag>0)            {             if(LastKeelOverZag                KeelOverZagBuffer[LastKeelOverZagPos]=0;             else KeelOverZagBuffer[shift]=0.0;            }          if(LastKeelOverZag            {             LastKeelOverZag=CurKeelOverZag;             LastKeelOverZagPos=shift;            }          LastKeelOverZig=-1;         }       if(CurKeelOverZig!=0)         {          if(LastKeelOverZig>0)            {             if(LastKeelOverZig>CurSlalomZig)                KeelOverZigAndZagSECTION[LastKeelOverZigPos]=0;             else KeelOverZigAndZagSECTION[shift]=0;            }          if((CurKeelOverZig            {             LastKeelOverZig=CurKeelOverZig;             LastKeelOverZigPos=shift;            }          LastKeelOverZag=-1;         }      }    return;   } //+------------------------------------------------------------------+ //|                                                                  | //+------------------------------------------------------------------+ void The_Third_Crusade()   {    bool first=true;    for(shift=CountBar; shift>0; shift--)      {       // Íèçâåãàåì ïðåæíèõ ïðîðîêîâ       LimitOrdersBuffer[shift]=0.0;       BuyOrdersBuffer[shift]=0.0;       SellOrdersBuffer[shift]=0.0;       // Çàäàåì öåíòð ìèðîçäàíüÿ èíòåðâàëà shift (ïî ëþáîìó -       // ñïîñîá áîëüøîãî ïîëèòè÷åñêîãî âåñà íå èìååò)       Navel=(5*Close[shift]+2*Open[shift]+High[shift]+Low[shift])/9;       // Åñëè îâåðêèëü - ñìîòðèì,       // êóäà (ìîæåò áûòü) äàëüøå ñåéìîìåíòíî ïîéäåì: ââåðõ èëè âíèç       if(KeelOverZigAndZagSECTION[shift]!=0.0)         {          TrendUp=true;          first=false;         }       if(KeelOverZagBuffer[shift]!=0.0)         {          TrendUp=false;          first=false;         }       // Ñîáèðàåì â KeelOverZigAndZagSECTION è ÎâåðêèëüÇèãè, è ÎâåðêèëüÇàãè,       // è ïóñòûøêè - âñå â îäíó êó÷êó, òàêèì îáðàçîì ïîëó÷àåì äîëãîèãðàþùèé       // ZigAndZag, íàòÿãèâàÿ íèòü "òðåíäà" íà ïóïêè ðàçâîðîòíûõ ñâå÷åê       if(KeelOverZagBuffer[shift]!=0.0 || KeelOverZigAndZagSECTION[shift]!=0.0)         {          KeelOverZigAndZagSECTION[shift]=Navel;         }       else KeelOverZigAndZagSECTION[shift]=0.0;       // Ïðîâåðÿåì shift íà íàëè÷èå ÑëàëîìÇèãà èëè ÑëàëîìÇàãà       if(SlalomZigBuffer[shift]!=0.0)         {          LastZigOrZag="Zig";          LastSlalomZig=Navel;          SetBuyOrder=false;          SetLimitOrder=false;          SetSellOrder=false;         }       if(SlalomZagBuffer[shift]!=0.0)         {          LastZigOrZag="Zag";          LastSlalomZag=Navel;          SetBuyOrder=false;          SetLimitOrder=false;          SetSellOrder=false;         }       // è, åñëè íè ÑëàëîìÇèãà, íè ÑëàëîìÇàãà óæå íåò,       // à îâåðêèëü óæå áûë - ñìîòðèì, à ÷òî åñòü ïî âõîäó-âûõîäó       if(SlalomZigBuffer[shift]==0.0 &&          SlalomZagBuffer[shift]==0.0 &&          first==false)                  Slalom_With_A_Scalpel();      }    return;   } //+------------------------------------------------------------------+ //|                                                                  | //+------------------------------------------------------------------+ void Shift_Zerro()   {    shift=0;    Navel=(5*Close[0]+2*Open[0]+High[0]+Low[0])/9;    Slalom_With_A_Scalpel();    KeelOverZigAndZagSECTION[0]=Navel;    return;   } //+------------------------------------------------------------------+ //|                                                                  | //+------------------------------------------------------------------+ void Slalom_With_A_Scalpel()   {    // Ïðîâåðÿåì ñóùåñòâóþùèé ñèãíàë íà èìååò ïðàâî áûòü    // èëè íà åñëè íå ñòîèò, à õîòåëîñü áû:      // åñëè õîä ÷èñòî êîíêðåòíî ïî æèçíè - çàáèâàåì Ñòðåëêó íà äåíüãè,    // åñëè ïðîòèâ - ñòàâèì íà øóõåð Øàðèêà Äåëàé-Íîãè    if(LastZigOrZag=="Zig")      {       if(TrendUp==true)         {          if((Navel-LastSlalomZig)>=LimitPoints && SetBuyOrder==false)            {             SetBuyOrder=true;             BuyOrdersBuffer[shift]=Low[shift+1];             LastSlalomZigPos=shift;            }          if(Navel<=LastSlalomZig && SetBuyOrder==true)            {             SetBuyOrder=false;             BuyOrdersBuffer[LastSlalomZigPos]=0.0;             LastSlalomZigPos=-1;            }         }       if(TrendUp==false)         {          if(Navel>LastSlalomZig && SetLimitOrder==false)            {             SetLimitOrder=true;             LimitOrdersBuffer[shift]=Navel;             //            LimitOrdersBuffer[shift]=Close[shift];             LastSlalomZigPos=shift;            }          if(Navel<=LastSlalomZig && SetLimitOrder==true)            {             SetLimitOrder=false;             LimitOrdersBuffer[LastSlalomZigPos]=0.0;             LastSlalomZigPos=-1;            }         }      }    if(LastZigOrZag=="Zag")      {       if(TrendUp==false)         {          if((LastSlalomZag-Navel)>=LimitPoints && SetSellOrder==false)            {             SetSellOrder=true;             SellOrdersBuffer[shift]=High[shift+1];             LastSlalomZagPos=shift;            }          if(Navel>=LastSlalomZag && SetSellOrder==true)            {             SetSellOrder=false;             SellOrdersBuffer[LastSlalomZagPos]=0.0;             LastSlalomZagPos=-1;            }         }       if(TrendUp==true)         {          if(LastSlalomZag>Navel && SetLimitOrder==false)            {             SetLimitOrder=true;             LimitOrdersBuffer[shift]=Navel;             //            LimitOrdersBuffer[shift]=Close[shift];             LastSlalomZagPos=shift;            }          if(Navel>=LastSlalomZag && SetLimitOrder==true)            {             SetLimitOrder=false;             LimitOrdersBuffer[LastSlalomZagPos]=0.0;             LastSlalomZagPos=-1;            }         }      }    return;   } //+--Ñîáñòâåííî, ÿ âñå ñêàçàë. Çàáàâíî, åñëè âñå ýòî ðàáîòàòü áóäåò--+ //+------------------------------------------------------------------+