Long Candle Trading 5 min Chart Dax Future
Forums › ProRealTime English forum › ProOrder support › Long Candle Trading 5 min Chart Dax Future
- This topic has 4 replies, 3 voices, and was last updated 9 months ago by robertogozzi.
-
-
01/11/2024 at 12:39 PM #226229
Hello!
I need help with a strategy which is based on Long Candle in an High or in an Low of 100 candles in Dax Future.
I have choosen 5 Minute Candle.
In the picture there is an example of an Long Trade szeanrio:
Is there an candle for Long Trade:
a) which has more than 90 points (Kerze muss größer als 90 Punkte sein)
b) the low of the candle is lower than all lows (100 candles) before (Kein tieferes Tief als das Kerzentief 100 Kerzen davor)
c) there is no lower low after the candle is finished (Die Signalkerze darf nicht unterschritten werden)
than go long, if the course is higher than the high of the candle (Long Einstieg, sobald der Kurs über das Kerzenhoch geht)
Stop Loss: If the course go under the low of the candle (Stop 1 Punkt unter dem Kerzentief)
Take Profit 1: 100% of the candle (50% vom Trade wird bei Anstieg um 100% der Kerze verkauft)
take profit 2: 200% of the candle (50% vom Trade wird bei Anstieg um 200% der Kerze verkauft)
The same logik for short trade: (Die gleiche Logik für Short Trade)
Candle > 90 points
no higher high 100 candles before
no high after the candle is created
Can you help me here please? I already get an screener for this. But this doesnt work with future courses. So i need this for the dax future.
Thank you
01/19/2024 at 6:50 PM #226607Only post in the language of the forum that you are posting in. For example English only in the English speaking forums and French only in the French speaking forums.
I moved the topic from the German forum.
Thanks 🙂
There you go:
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950DEFPARAM CumulateOrders = FalseONCE LB = 100 //100 lookback periodsONCE BigSize = 90 * PipSize //90 a big candle must be higher than 90 pipsONCE Distance = 6 * PipSize //6 minimum distance required by the broker for pending orders, if anyL1 = range[1] > BigSizeS1 = L1L2 = (low[1] = lowest[LB](low))S2 = (high[1] = highest[LB](high))CondL = L1 AND L2 AND Not OnMarketCondS = S1 AND S2 AND Not OnMarket// Long entryIF CondL THENEntryL = high[1]StopL = low[1]TargetL1 = EntryL + range[1]TargetL2 = EntryL + (2 * range[1])IF close < (EntryL - Distance) THENBUY 2 Contract at EntryL STOPELSIF close > (EntryL + Distance) THENBUY 2 Contract at EntryL LIMITENDIFSET STOP PRICE StopLSET TARGET PRICE TargetL2ENDIF// Short entryIF CondS THENEntryS = low[1]StopS = high[1]TargetS1 = EntryS - range[1]TargetS2 = EntryS - (2 * range[1])IF close > (EntryS + Distance) THENSELLSHORT 2 Contract at EntryL STOPELSIF close < (EntryL - Distance) THENSELLSHORT 2 Contract at EntryL LIMITENDIFSET STOP PRICE StopSSET TARGET PRICE TargetS2ENDIF// Long exitIF LongOnMarket THENIF (close >= TargetL1) AND (abs(CountOfPosition) = 2) THENSELL 1 CONTRACT AT MARKETENDIFENDIF// Short exitIF ShortOnMarket THENIF close <= TargetS1 AND (abs(CountOfPosition) = 2) THENEXITSHORT 1 CONTRACT AT MARKETENDIFENDIFI added a DISTANCE option, to abide by IG’s requirement for pending orders. Check their website to check whether it is required for DAX and what value it is, if any.
01/22/2024 at 11:23 PM #226739I think DAX distance during premarket like 2am/3am GMT is around 8 or 10 points on IG index as my orders were rejected when placed at less than 8 points away.
1 user thanked author for this post.
01/24/2024 at 11:33 AM #226831Good Morning!
First of all! Thank you very much for your help.
I’m testing it on the real Future, not on IG. Therefore i don’t need the distance. Can you give me the code without the Distance paramether. That would be very nice.
I check it with candle size 50 Points. The results for this event looks not so bad.
But I have noticed that
a) on 25.10.2023 The Short entry is before the candle was short broken. The target with 14900 (1xCandle) and 14840 (2x Candle) is correct.
b) on 08.12.2023 The long entry is at 16702, but with stop buy order it has to be 16703. The first target ist 16759, but the code take profit at 16767. The second target ist at 16816 ist correct.
c) on 5.01.2024 i have the same differnce like in case b)
I have the screenshoots atted in the file.
Thanks a lot!
01/24/2024 at 6:32 PM #226876Simply set Distance to 0.
-
AuthorPosts
Find exclusive trading pro-tools on