TrendEMA Strategy

Forums ProRealTime English forum ProOrder support TrendEMA Strategy

Viewing 2 posts - 1 through 2 (of 2 total)
  • #91069

    Hey Guys,

    I have a problem with an allegedly easy idea.

    The idea is that

    1. the system goes LONG when Close is over EMA50 and EMA50 is over EMA200. It sells the LONG when the close fall back under EMA50,
    2. the system goes SHORT when Close is under EMA50 and EMA50 is over EMA 200. The TARGET PROFIT is EMA200,
    3. the system goes SHORT when Close is under EMA50 and EMA50 is under EMA200. EXITSELL is when Close is over EMA50.
    4. the system goes LONG when Close is over EMA50 and EMA50 is under EMA200. The TARGET PROFIT is EMA200.

    How can i code the system that it only take the TARGET PROFIT by these two specific constellations? I tried also to set there an identifier (i), but that does not help. (Or I made a logical mistake (what clearly happend :D))

    As far as I know, the TARGET PROFIT is always the distance in points and not the target pricelevel, isn’t it?

    May somebody can help me? 🙂

    #91075

    TARGET PROFIT    n is the target profit in price difference (if you buy at 1.0000 and want your TP at 1.0050 then you have to use n=0.0050)

    TARGET pPROFIT n is the target profit in pips   difference (if you buy at 1.0000 and want your TP at 1.0050 then you have to use n=50)

     

     

     

Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login