in Search

New Formula Needed!

Last post 02-04-2009, 22:02 by wabbit. 1 replies.
Sort Posts: Previous Next
  •  01-22-2009, 19:51 28694

    New Formula Needed!

    Hi folks, I realize I am new. I apologize for asking before giving, but I need some help.

    I need to create 2 formulas for buy/sell alerts... as follows:

     

    A sell alert when Close is below the following EMA's (combined) for at least 1 bar (candlestick)
    13, 30, 50, 100, 200 and the following formual already in MetaStock Experts as - Cross(Mov(MACD(),9,E),MACD())

    A buy alert when Close is above the following EMA's (combined) for at least 1 bar (candlestick)

    13, 30, 50, 100, 200 and the following formual already in MetaStock Experts as - Cross(MACD(),Mov(MACD(),9,E))

    I really appreciate any help on this.

    Thanks
    TF

  •  02-04-2009, 22:02 28793 in reply to 28694

    Re: New Formula Needed!

    Hi TF,

    Have a read of the MS Users Manual and download the Equis Formula Primer from the files section and complete all the exercises contained therein.  From there you will be able to complete this programming task.

    You need to combine comparative operations; easily achieved using the AND function, or by summing (+) each condition: e.g.

    cond1 AND cond2 AND cond3

    or

    cond1 + cond2 + cond3 = 3


    Hope this helps.

    wabbit Big Smile [:D]


    "The question of whether a computer can think is no more interesting than the question of whether a submarine can swim."
    Edsgar W. Dijkstra

     

    MS: 6.52 EOD, 7.x EOD, 8.0 PRO, 9.2 PRO w/QC, 10 PRO w/QC & MDK
    For custom MetaStock programming : http://www.wabbit.com.au
    My SkyPE status :
    My SkyPE account : wabbit.com.au

View as RSS news feed in XML