position does not exist
Forums › ProRealTime English forum › ProOrder support › position does not exist
- This topic has 13 replies, 3 voices, and was last updated 5 years ago by
GraHal.
-
-
04/15/2020 at 12:48 PM #12626504/15/2020 at 1:00 PM #12626804/15/2020 at 1:25 PM #126272
You may find an orphan trade (abandoned by a System! 🙁 ) if you use the IG Platform and click on ‘Positions’ in the left hand margin?
thus i have lot of orphan trade… 😉 .. this happened for the first time with 1s strategy.. on IG Platform there is nothing.. maybe it’s too fast for them.. omg
04/15/2020 at 3:22 PM #12628204/15/2020 at 3:26 PM #12628304/15/2020 at 3:52 PM #12629004/15/2020 at 3:59 PM #126294Close PRT and and even close IG … then login again to see if any different?
Remember to save any wip! 🙂
thx Grahal i will try.. it’s the demo account, not serious. I have to work on my strategies 1s and to stay focused .. 😉
11/04/2020 at 2:17 PM #149461Dear Grahal and Makside.
I have the same issue in demo and can not figure why.
This happens testing a code of the type below with DEFPARAM CumulateOrders = true and DEFPARAM preloadbars = 5000
Do you think this error is linked to the code ? or to its linked to the demo account ?
Thank you.
123456789101112131415//Definition du rangeTopRange = highest[periode](high)LowRange = Lowest [periode](low)C1 = TopRange-LowRange <30//GRAPHONPRICE toprange As "Toprange"//Graphonprice LowRange AS "LowRange"// Conditions to enter positionsif C1 thenbuy positionsize CONTRACT at TopRange+1 stopsellshort positionsize CONTRACT at LowRange-1 stopEndifset stop ploss 3011/04/2020 at 2:30 PM #14946211/04/2020 at 2:33 PM #149463Hi Grahal,
No, it works for some time and then it keeps on stoping !
I think it happens when the system is doing the reverse, maybe it does not like to have X position cumulated on one side and an order to reverse for one position on the other side.
Maybe I should set the SL to be at LowRange.
11/04/2020 at 3:03 PM #149465it does not like to have X position cumulated on one side and an order to reverse for one position on the other side.
It would be worth setting a duplicate Algo going with CumulateOrders = False and see if ‘False’ does not get the error message?
Let us know how you get on please?
Maybe I should set the SL to be at LowRange.
I can’t see how the SL value will do it, but who knows? Try a duplicate Algo with a different SL value, I’d suggest much larger SL value … just as an experiment?
11/05/2020 at 11:47 AM #14952511/06/2020 at 9:58 AM #149634HI Grahal,
Yes I will try this (defparam=false).
I tried on other time frame and the robot still to stop for different kind of reasons (“order already exist”, “position does not exist”, “order is to close from current market price. Minimum distance for this market is 300 points”.
I will post the conclusion here.
Thank you again !
11/06/2020 at 10:12 AM #149635 -
AuthorPosts
Find exclusive trading pro-tools on