Help for robot software

 

Hi Guys,

I'm new to mql5. I want to trade according to an indicator. Can someone help me? I think it is not difficult and long. 

Transactions will be as follows;

**********************************************************************************

n1 = input (10)

n2 = input (21)

ap = hlc3 >>>> PRICE_TYPICAL ((high+low+close)/3)

esa = ema (ap, n1)

d = ema (abs (ap - esa), n1)

ci = (ap - esa) / (0.015 * d)

tci = ema (ci, n2)

wt1 = tci

wt2 = sma (wt1,4)

plot(wt1, color=green)

plot(wt2, color=red)

plot(cross(wt1, wt2) ? wt2 : na, color = black , style = circles, linewidth = 3) >>>>> BUY Order 

plot(cross(wt1, wt2) ? wt2 : na, color = (wt2 - wt1 > 0 ? red : lime) , style = circles, linewidth = 2) >>>> SELL Order

Note: The old order will be closed with each new order.

*******************************************************************************

I would appreciate it if you could help. Thanks.

Documentation on MQL5: Constants, Enumerations and Structures / Trade Constants / Trade Orders in DOM
Documentation on MQL5: Constants, Enumerations and Structures / Trade Constants / Trade Orders in DOM
  • www.mql5.com
Trade Orders in DOM - Trade Constants - Constants, Enumerations and Structures - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
 
samatasara: I want … Can someone help me? I think it is not difficult and long.
  1. Help you with what? You haven't stated a problem, you stated a want.
         How To Ask Questions The Smart Way. 2004
              Prune pointless queries.

    You have only four choices:

    1. Search for it. Do you expect us to do your research for you?

    2. Beg at:

    3. MT4: Learn to code it.
      MT5: Begin learning to code it.

      If you don't learn MQL4/5, there is no common language for us to communicate. If we tell you what you need, you can't code it. If we give you the code, you don't know how to integrate it into your code.

    4. or pay (Freelance) someone to code it. Top of every page is the link Code Base.
                Hiring to write script - General - MQL5 programming forum 2019.08.21

    We're not going to code it for you (although it could happen if you are lucky or the problem is interesting.) We are willing to help you when you post your attempt (using CODE button) and state the nature of your problem.
              No free help 2017.04.21

  2. You don't know how to code, but the changes are easy? That's like saying "I don't know how to build engines but adding another cylinder should be easy; it's just one more."
              Is it easy (or difficult) to …? - General - MQL5 programming forum #2 2017.08.31