Trades apparently not triggering – could be something im missing completely!
Forums › ProRealTime English forum › ProBuilder support › Trades apparently not triggering – could be something im missing completely!
- This topic has 8 replies, 2 voices, and was last updated 8 years ago by southcoast.
-
-
10/31/2016 at 2:24 PM #15767
Hi there,
Im pretty new to PRT and have been finding my way around the automated trading. Does anyone have any experience of their (frankly basic test) conditions not triggering in either back test or real time?
It could be that I simply havent allowed for enough time before querying this, but given Im brand new, im worried that I might have missed something.
Ive enabled everything I need to in live trading (but have stayed in DEMO mode for these purposes) and there is nothing wrong with the script, but it seems as though it simply isnt picking up a) everything in back test or b) anything in demo trading.
Any insight or if anyone knows of any tricks to kick start the auto trading function Id be very grateful.
Many thanks
10/31/2016 at 2:26 PM #15768EDIT: I should add when i say ‘basic test conditions’ i mean my script, not the functionaility itself. So to say, this isnt a particularly complex starting point! thx
10/31/2016 at 3:46 PM #15773Hi,
Once I was struggling to find a bug in my code because my algorithm in probuilder was triggering the signal, but my translation of it into a strategy wasn’t… It turned out there was no bug, but the probuilder and proorder results were different because of using slightly different data each. Probuilder was using customised time parameters (on cfd I did turn off weekend data) and running on my pc, but proorder wasn’t (proorder did use the weekend data) while running on a PRT server. Not saying this is happening here to you, but it could be, and if you’re new to PRT, that’s worth keeping in mind just in case.
It reminds me I encountered another case which couldn’t be explained by this weekend data on/off business, and told Nicolas I’d start a fresh topic about it. I’ll try to do that when he’s back.
10/31/2016 at 4:30 PM #15775Thank a lot Noobywan.
Yes it’s bizarre – ive deliberately kept everything very simple so as to simply see ‘how it works’ in real time (ie the process) but as yet nothing triggered.
Ill carry on playing around with it, maybe even go for a more simple still ‘trigger’ and if no progress i guess Ill get onto the full support service – not sure what else i can do.
What is the best route to speak directly to a support team member? Or is it via this forum?
Many thanks again
10/31/2016 at 4:47 PM #15782This forum is mainly a forum of users just like you (so am I, just moderating on my free time). Here you will meet PRT users from many countries wishing to discuss PRT codes with other users, sharing experiences and helping each other out. In case we encounter something that we believe is not a bug within our own code, but could be a platform problem, then the most appropriate way to pass it on to a PRT support team member is through the PRT “help” menu at top right of main window, first line “tech support” (shortcut CTRL M).
10/31/2016 at 5:22 PM #15785Gotcha.
Many thanks again for your help!
11/01/2016 at 8:36 AM #15801Ive just had a thought – if my MAs in the script dont match the MAs shown on the related chart, would that make a difference? (ie do i have to add an exact MA period indicator on each instrument, or does it do this behind the scenes?)
Cheers
11/01/2016 at 8:43 AM #15802If such MAs play a direct or indirect role in setting “true” or “false” the conditions for buying or selling, then yes… Hard to say anything more specific without reading the code and seeing screen capture of backtest charts and exact position of where you think a trade should have been triggered…
11/02/2016 at 2:55 PM #15870Thanks again Noobywan
I added in a load of increments to the chart templates to cover any and all MAs used – and I had a trigger! So i think that solves that.
It has however highlighted another wee bug, but im fairly happy that this, coupled with your response there, is what was precluding any activity so far.
Thanks again and Ill update you here if I have any luck with this!
Cheers
-
AuthorPosts