Watch how to download trading robots for free
Find us on Twitter!
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

Heikin Ashi Trader - expert for MetaTrader 4

Views:
18587
Rating:
(17)
Published:
2019.01.01 09:24
Updated:
2024.02.11 01:56
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

 "Heikin Ashi Trader" EA trades with a strategy based on Heikin Ashi indicator (not visible) and has Trailing Stop Loss &Take Profit works best on 1D time frames major forex pairs  and stocks NASDAQ.

Try it on demo first.

 

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

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-200).
    • 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).
    • 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/false).
    • TotalEquityRisk- (values: 0.01-20).
    • -------------------------------------------------------------------------------
    • Max_Trades(1-5). 
    • STOC1- Stochastic indicator(values: 5-20).
    • STOC2- Stochastic indicator (values: 3-10).
    • STOC3- Stochastic indicator(values: 3-10). 
    • IF YOU USE ONLY 1 TRADE:
    • //////////////////////////////////////////////////
    • TrailingStop-set a value from 40 to 100 to activate trailing stop loss & take profit, "0" will not activate trailing stop loss.
    • 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.





    Fractals and Alligator Fractals and Alligator

    "Fractals & Alligator" EA trades with a strategy based on Fractals & Alligator indicators and has Trailing Stop Loss &Take Profit works 1D time frames major forex pairs and stocks NASDAQ.

    ZigZag Signal ZigZag Signal

    Indicator ZigZag System with Signal and Alert Added Alert and modify by Roberto Jacobs 3rjfx @ 2018/12/29

    Easy Object Easy Object

    A simple way to manage graphical objects.

    Hedg System Hedg System

    "Hedg System" EA trades with hedging strategy two trades at any given time: Buy and Sell ,works best on 1D time frames major forex pairs .