PaulParticipant
Master
a pic how long is performing with stoploss is 0.5%. Short had only 2 trades and around breakeven.
a pic how long is performing with stoploss is 0.5%. Short had only 2 trades and around breakeven.
Pos size? Why you started it on 18 may but it worked only since 1st June?
Is the code available?
PaulParticipant
Master
I was experimenting with pivots a month ago on this code. If compared published v130 to v135 for long only, the old version has better performance. Not worth it to put this online basically. Here’s a comparison.
HI Everyone, Thanks @balmora74 for the great code. I have made some alterations including a hard stop I also noticed that losses occur more frequently on the same day so I have tried encoding a Maximum loss per day code to the strategy but it seems to run over that loss, can somebody help PSA
PaulParticipant
Master
‘ve a look in this topic. I created something for this.
https://www.prorealcode.com/topic/dynamic-live-parameter-adjustment/
but there are other ways probably more easy!
Hi, I have a question. In the original code, is there any stop loss or trailing stop? I tired it out today on my account but i saw there was no stop at all, is it suppose to be like that or do i have to change something?
Thanks for your answer!
Hi there – I’m running DJI code (DJ-3m-Vectorial-V3.itf) on a live account (testing it for now).
Great job! This is by far the only code I can trust most. (:
Tonight, I think, I may have found the first bug in the code. Running the code as both indicator, and the job on DJI 3m TF: The code entered a long trade at 25,974.7 on 8:30:01 P.M (NZ time). The trade was kept open until 10:15:01 P.M. when the market reversed into bearish trend, and the code did the right thing to sell the long position at 25,859.1, and opened a short one at 25860.1 at the same time.
Meanwhile – watching the indicator (with the same code as the job) on DJI 3m TF – there seems be an inconsistency between the performance of the AutoTrading job and what the indicator shows. Specifically – closing down the long position, which unlike the job’s action, should have been closed much closer to the reverse point of the market according to the indicator. (at 25,971.9 on 9:36 P.M.)
Any thought on why the output behavior differs between the job and what the indicator reports?
I would appreciate any of the contributor’s feedback with this.
Thanks to each and every one of you for pushing this code forward.
– Rikki
Just adding a bit of more details to my last comment that, after looking into the issue a bit further, seems like what I had expected to work in the job during the reverse is the break-even logic. Still not sure why it didn’t work yet…
I have attached a photo with two GraphOnPrice lines – one for breakeven level, and the other for the trailing stop level. Seems like when the trend reversed, in the indicator, the breakeven level is what closed the long position. The question now is – what caused the breakeven to not work the same way in the AutoTrading job?
Thank you,
– Rikki
Hello colleagues, I would like to try some automatic strategy of this forum, which one do you recommend using that can be profitable at this time? Thank you.
Hi – been running this live now for the last 3 days, trading on the DJI on a 3m time frame. This is on an IG Spread Betting account. Going very well, and live trading and stop loss is in line with the back testing results, which is always good to see!
Thank you once again for sharing this strategy Balmora74
🙂
@samsampop I’ve been running V3 posted on this forum also with success last few days. I noticed in your screenshot you have named it _PRD, have you amended the script or are you running the exact code that posted on this forum? The strategy I’m using is DJ 3m Vectorial V3.
Hi
eckaw
Good spot. This simply denotes a strategy which, after performing extensive back testing, I have promoted to Production and am trading on a live account. Otherwise they are prefixed with TEST and BETA accordingly.
Good huntng!
Help – can someone please help. Setting MM = 0 at the beginning, where in the code does it calculate the ‘positionsize’ for which PositionSizeLong and PositionSizeShort are derived?
I wish to start with a fixed position size every time. I have tried inserting MaxPositionsAllowed at the beginning and into the Buy and Sell condition sets, but this hasn’t worked either.
Thank you very much