Hey Guys,
I have a problem with an allegedly easy idea.
The idea is that
- 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,
- the system goes SHORT when Close is under EMA50 and EMA50 is over EMA 200. The TARGET PROFIT is EMA200,
- the system goes SHORT when Close is under EMA50 and EMA50 is under EMA200. EXITSELL is when Close is over EMA50.
- 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? 🙂