Mediocre trades that happen often should be the target, not the huge moves that seem unpredictable.
We kinda need 2 strategies in one as we don’t want to miss out on the huge moves when they do happen.
As all huge moves start with a mediocre move …
- If mediocre moves ONLY, then continue to use use Settings A.
- If mediocre moves turns into huge move / strong trend then flip to using Settings B.
Just sharing a few thoughts prompted by what you said.
Well, the problem is obvious. Let’s say there are 10 big moves a month, but 50 mediocre moves … it makes a lot of sense to focus on the mediocre moves. The chance of hitting these trades in the future is much higher. So the system becomes more reliable. I refer to my KISS-EMA-RSI, just enter it in the search … I know, a completely different principle, but due to its principle it covers everything the market offers from 1 point to 200 points. So it is robust, it has been running in the settings since the beginning of the year without any loss of performance. You get what the market gives you. In terms of Dax Vectorial … has anyone tried partial exits? Trade 1 at 0.5% take profit, Trade 2 with trailing. As I said, I would finish my modified version next week.
Ive tried experimenting with all kinds of partial closes, instinctively it seems like a good idea but always results in a lower gross profit.
The only way you can account for a system that will occasionally hit the stop loss is for it to also occasionally hit the tp, and for that you have to let it run.
Same reason that the trail has to be slower than you might think it should be, so the position can stay in play longer with one eye on the bigger prize.
Well, the big gross profit is only available in the back test …? 20% less gross profit, but a stable system that runs for at least several months without optimizing … wouldn’t that be better? Correct me if I’m wrong.
I don’t think using partial close will make your system any more stable, if that’s what you mean.
My approach is to run lots of different systems with different objectives. Some play a long game over several days, others run for a few hours and some scalp a quick gain in a matter of minutes. I find this works better than trying to do it all in one algo.
That’s exactly what I’m trying to do with my systems. Or multiple systems in different time frames.
Hello everyone, i was trying to implement this strategy on forex, but no positions are opened when i try to run the code; seems that the indicted part is this:
// Angle
once periodea= x
once nbchandeliera= x
mma= exponentialaverage[periodea](close)
adjasuroppo= (mma-mma[nbchandeliera]*pipsize)/nbchandeliera
angle= (atan(adjasuroppo))
cl1= angle>=x
cs1= angle<=-x
// Pente and Average
once periodeb= x
once nbchandelierb= x
lag= x
mmb= exponentialaverage[periodeb](close)
pente= (mmb-mmb[nbchandelierb]*pipsize)/nbchandelierb
trigger= exponentialaverage[periodeb+lag](pente)
cl2= (pente>trigger) and (pente<0)
cs2= (pente crosses under trigger) and (pente>1)
I can’t really understand what’s the problem; any suggestions?
To clarify … x in above refers to different values (not same value)?
To clarify … x in above refers to different values (not same value)?
Yes, i was just too lazy to put x,y and so on 😀
You could try below as Line 18 to see if trades are then triggered?
Crosses under trigger and pente>1 may rarely occur?
cs2= (pente < trigger) and (pente>1)
Are you using >= minimum position size for your choice of instrument and contract?
If you post the .itf that you are using, I would run on my platfrom to see if I get the same results as you / no trades.
If you post the .itf that you are using, I would run on my platfrom to see if I get the same results as you / no trades.
It’s all as you see on my first post; i was starting from angle and pente detection before building the rest of the code around it but i stopped because i didn’t figured out how to execute this first part.
defparam cumulateorders= false
pos= 1
// Angle
once periodea= x
once nbchandeliera= x
mma= exponentialaverage[periodea](close)
adjasuroppo= (mma-mma[nbchandeliera]*pipsize)/nbchandeliera
angle= (atan(adjasuroppo))
cl1= angle>=x
cs1= angle<=-x
// Pente and Average
once periodeb= x
once nbchandelierb= x
lag= x
mmb= exponentialaverage[periodeb](close)
pente= (mmb-mmb[nbchandelierb]*pipsize)/nbchandelierb
trigger= exponentialaverage[periodeb+lag](pente)
cl2= (pente>trigger) and (pente<0)
cs2= (pente crosses under trigger) and (pente>1)
// Entry Conditions
condbuy= cl1 and cl2
condsell= cs1 and cs2
// Positions
if condbuy then
buy pos contract at market
endif
if condsell then
sellshort pos contract at market
endif
// Stop And Target
set stop loss 50
set target profit 50
I put angles at 10 and -10 and I got 2 x trades on EURUSD on 1 min TF over 10k bars.
Does above work for you?
Off to bed now, I will look at it more tomorrow, but just wanted to get it to trade on Forex! 🙂
Loads of trades on DJI btw.