無料でロボットをダウンロードする方法を見る
Twitter上で私たちを見つけてください。
私たちのファンページに参加してください
興味深いスクリプト?
それではリンクにそれを投稿してください。-
他の人にそれを評価してもらいます
記事を気に入りましたか?MetaTrader 5ターミナルの中でそれを試してみてください。
エキスパート

Linear Regression Channel - MetaTrader 4のためのエキスパート

ビュー:
17568
評価:
(18)
パブリッシュ済み:
2019.02.13 01:07
アップデート済み:
2024.01.31 00:25
このコードに基づいたロボットまたはインジケーターが必要なら、フリーランスでご注文ください フリーランスに移動

Linear Regression Channel EA draws "Linear Regression Channel"  on chart and trades with its trend,has Trailing Stop Loss &Take Profit works best on all time frames major forex pairs and stocks NASDAQ.

Try it on demo first.

You choose how to trade: only with the price of open candle or every tick !

If you do not want to trade with increasing lot size when you lose  a trade set:"IncreaseFactor=0"

I put together a simple EA with two moving averages and Linear Regression Channel,

The Linear Regression Channel do not work on test mode,

The optimization tests can be performed only with moving averages,

In live trading only, Linear Regression Channel and moving averages will work together,

During tests, the EA  only draws the Linear Regression Channel on the screen in a visual mode without considering it in the creation of trades,

The Linear Regression Channel will function as a filter .

In this situation the probability of winning trades increases.

Inputs

  •  Use_TP_In_Money- Use Take Profit In Money (values:true/false).
  •  TP_In_Money- Take Profit In Money   (values: 10-100).
  • Use_TP_In_percent- Use Take Profit In Percent (values:true/false).
  • TP_In_Percent- Take Profit In Percent (values: 10-100).
  • ------------[Money Trailing Stop For Multiple Trades]----------------------
  • Enable_Trailing-Enable_Trailing with money  (values:true/false).
  • Take Profit In Money (in current currency) (values: 25-300).
  • Stop Loss In Money(in current currency) (values: 1-20).
  • ------------------------------------------------------------------------------------
  • --------------------------------------------------------------------
  • Channel length = FIBOCHANNEL LENGTH (bars) (values: 3-50).
  • Channel color  (values: colors ).
  • --------------------------------------------------------------------
  • Exit= Close trades if the trend is against you and control draw dwon (values:true/false).
  • tick=If "tick"=false-every tick\If "tick"=true -open prices  (values:true/false).
  • IncreaseFactor -how much to increase lots from total margin if you lose a trade (values: 0.001-0.1).
  • CandlesToRetrace=Num.Of Candles For Divergence (values: 3-50). 
  • Lots - Lots size (values: 0.01-10).
  • Lots size Exponent  (values: 1.01-2).
  • IncreaseFactor -how much to increase lots from total margin if you lose a trade (values: 0.001-0.1).
  • TrailingStop-set a value from 10 to 100 to activate trailing stop loss & take profit, "0" will not activate trailing stop loss.
  • Stop_Loss - Stop Loss (values: 10-100).  /set value 600 for  Multiple Trades
  • MagicNumber - Magic number (values: 1-100000).
  • TakeProfit - Take Profit (values: 10-100).  /set value 600 for  Multiple Trades
  • FastMA - Fast Moving Average (values: 1-20).
  • SlowMA - Slow Moving Average (values: 50-200).
  •  Distance-Distance between two averages (values: 10-60).
  •  Mom_Sell-Momentum_Sell trtrigger(values: 0.1-5).
  •  Mom_Buy-Momentum_Buy trtrigger(values: 0.1-5).
  • ---------------------CONTROL DRAW DOWN-----------------------------
  • UseEquityStop -  (values: true).
  • TotalEquityRisk- (values: 0.01-20).
  • -------------------------------------------------------------------------------
  • Max_Trades(1-12). 
  • IF YOU USE ONLY 1 TRADE:
  • //////////////////////////////////////////////////
  • USETRAILINGSTOP-If use trailing stop (values:true/false).
  • WHENTOTRAIL-When to trail (values: 40-100).
  • TRAILAMOUNT-Trail amount (values: 40-100).
  • Distance From Candle -Distance From Candle (values: 1-100).
  • UseEquityStop -  (values: true).
  • TotalEquityRisk- (values: 0.01-5).
  • USEMOVETOBREAKEVEN-Enable " break even " (values: true/false).
  • WHENTOMOVETOBE-When to move break even (values: 1-30).
  • PIPSTOMOVESL=30-How much pips to move stop loss  (values: 1-30).
  • //////////////////////////////////////////////////////////////

    How to perform back test:https://bit.ly/2CD7XWD


      manual trade by keyboard manual trade by keyboard

      After looking for many Trading concepts and requirements of my own tried to code an EA. First collected many EA's and tried their codes I re-designed the following codes for my own needs to use for trading. Hope you also find the EA helps you .. Have healthy life and succesfull trades within your life.

      EUR/GBP H4 EA EUR/GBP H4 EA

      STRATEGY MARKET Tickmill-Live; EURGBP; H4 EA will trade a fix lot as you select and close as per the EA base indicator. ITs work only on Tickmill live broker account. without selected any date to back test

      Higher period Bollinger Band breakout and retrace strategy Higher period Bollinger Band breakout and retrace strategy

      A higher period Bollinger band strategy used for trading reversals

      Gann Fan Gann Fan

      "Gann Fan" EA draws Gann Fan on chart and trades with its trend,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.