Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

Broadening top - expert for MetaTrader 4

Views:
9084
Rating:
(15)
Published:
2019.07.06 03:06
Updated:
2024.01.25 23:01
Broadening top.mq4 (126.98 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

"Broadening top" naked trading price action EA draws 2 mini Trend Lines with "Fractals" on chart and trades with Broadening top strategy,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

The concept of this price action EA is:

Broadening top

In the figure above, price of the share reverses five times, reversal point d is made at a lower point than reversal point b and reversal point c and e occur successively higher than reversal point a.

One can't be sure of the trend unless price breaks down the lower of the two points (b & d) and keeps on falling. In the figure below, Broading Top is confirmed.

Broadening top

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 combined together a simple EA with two moving averages and Trend Line,

The Trend Line do not work on test mode,

The optimization tests can be performed only with moving averages,

In live trading only, Trend Line and moving averages will work together,

During tests, the EA  only draws the Trend Line on the screen in  visual mode without considering it in the creation of trades,

The Trend Line 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-100).
  • Stop Loss In Money(in current currency) (values: 1-20).
  • -----------------------------------------------------------------------------------
  • 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).
  • Lots - Lots size (values: 0.01-1).
  • 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).
  • Stop_Loss - Stop Loss (values: 30-500). /set value 600 for  Multiple Trades 
  • MagicNumber - Magic number (values: 1-100000).
  • TakeProfit - Take Profit (values: 50-200). /set value 600 for  Multiple Trades 
  • FastMA - Fast Moving Average (values: 1-20).
  • SlowMA - Slow Moving Average (values: 50-200).
  •  Mom_Sell-Momentum_Sell trigger(values: 0.1-5).
  •  Mom_Buy-Momentum_Buy trigger(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).
  • USECANDELTRAIL=If use candle  trailing stop (values:true/false).
  • X=2-number of candles (values: 1-100).
  • Enable "Break Even" -(values:true/false).
  • When move "Break Even"- (values: 5-30).
  • How much pips move- "Break Even" (values:5-30).
  • ////////////////////////////////////////////////////

    You need to optimize this EA once  a week and use the exact same  inputs from above .

    You can use it as  hedging grid EA or a single trade EA.







Reversals With Pin Bars Reversals With Pin Bars

"Reversals With Pin Bars" naked trading price action EA draws 2 mini Trend Lines with "Fractals" on chart and trades with the Reversals of Pin Bars,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

RSI Candles revised RSI Candles revised

Improved version inspired by RSI_candles by © mladen 2018 https://www.mql5.com/en/code/20968

Triple top and triple bottom Triple top and triple bottom

"Triple top and triple bottom" naked trading price action EA draws 2 mini Trend Lines with "Fractals" on chart and trades with Triple top and triple bottom strategy,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

Relative ATR Relative ATR

Shows what % the current ATR is relative to it's historical value.