Auftrag beendet
Spezifikation
EA Requirements / sdjlfjoweifjwoefjowefjoewjfowejfowiejifwejofjewflsdj lsdf ofiwjef lsdfjo weifj
Source code needed
All paramenters should be in settings available
1. For Long (Magic 1,2,3)
If Supertrend moves down or equal (current price with price of last “x- bars” (example 20)), then long price trigger = current price trigger. This Trigger can only go down or sideways, but not down (if no position is opened).
If PosLong = True with Magic 1, 2 or 3 is open, no LongSignal should be opened.
Current price trigger = go long market at same bar (open three positions (magic1, magic 2, magic3). Stop loss = for example 500 pips for all three magics.
Target – Exit Long Magic1 with Distance 2 times more than StopLoss
Target – Exit Long Magic2 with Distance 3 times more than StopLoss
Target – Exit Long Magic3 with Distance 5 times more than StopLoss
Exit Long on Profit Trailing Rules:
If CurrentProfitLong is > 1Times (StartTrailing) more than open Risk in $ (Calculate Distance in $ with StopLoss). Then ExitLongTrailing Stop for Magic1, 2, 3 = 100 TrailingPipsStop.
If CurrentProfitLong is > 2Times (StartTrailing) more than open Risk in $ (Calculate Distance in $ with StopLoss). Then ExitLongTrailing Stop for Magic1, 2, 3 = 25 TrailingPipsStop.
2. For Short (Magic 4,5,6)
If Supertrend moves up or equal (current price with price of last “x- bars” (example 20)), then short price trigger = current price trigger. This Trigger can only go up or sideways, but not down (if no position is opened).
If PosShort = True with Magic 4, 5 or 6 is open, no ShortSignal should be opened.
Current price trigger = go short market at same bar (open three positions (magic4, magic 5, magic6). Stop loss = for example 500 pips for all three magics.
Target – Exit Short Magic4 with Distance 2 times more than StopLoss
Target – Exit Short Magic5 with Distance 3 times more than StopLoss
Target – Exit Short Magic6 with Distance 5 times more than StopLoss
Exit Short on Profit Trailing Rules:
If CurrentProfitShort is > 1Times (StartTrailing) more than open Risk in $ (Calculate Distance in $ with StopLoss). Then ExitShortTrailing Stop for Magic4, 5, 6 = 100 TrailingPipsStop.
If CurrentProfitShort is > 2Times (StartTrailing) more than open Risk in $ (Calculate Distance in $ with StopLoss). Then ExitShortTrailing Stop for Magic4, 5, 6 = 25 TrailingPipsStop.