Grid orders with one combined stop loss and limit, can it be done?

Forums ProRealTime English forum ProOrder support Grid orders with one combined stop loss and limit, can it be done?

Viewing 15 posts - 106 through 120 (of 307 total)
  • #7840

    I cam across that same error of money management % loss this week end. I have worked a lot on different set of codes since then, but I think the one attached here is the good and only one that work across various instruments.

    Please have a look at the example of trades on NIKKEI with BB exit, it works good.

    Here is the complete code:

    I haven’t set it on real time market already, but I plan to with simple price breakout breach to see how it goes.

     

    1 user thanked author for this post.
    #7843

    @cfta The problem that the system exit ate 0.1% is due to the thing that I explain in my post of 22/05. Please have a look into it.

    #7854

    @Nicholas, have you seen the problem that I mentioned? also cfta has it… If you don’t have it it means that it is due to IG market.

    My suggestion it is to (depending on which index we choose) multiply the ticksize in the formula below x100 but this must be checked index by index and case by case.

     

     

    Second thing, you are specking to put it in real market time. what TF and index you suggest? 15 minutes? In my opinion we should choose some index with good volatility and strong movements during the day.

    Have you tried to remove the money management and see if all the trades close with the same loss?

     

     

    #7855

    I have changed this formula at line 35 to pipsize, which is in accordance to the pip value obviously.

    Since this is a “no-brain” system (understand that there is no initial trading decision made by the code), timeframe is not important. Of course, because we need it to add orders quickly and with the minimal step requirement we want, we should put it on a minimal timeframe possible, such as seconds eventually… as long as this strategy don’t have needs of any indicator.

    I said that I’ll put it on real live environment for testing purpose. First trade will be placed with breakout of a price level (Close crosses under/over …)

    I think that the first idea of making decision of when and how this system should operate is a good one. As I said, ProScreener can help us a lot for that, and what we need here is to fetch trend continuation or breakout on different timeframe horizon.

    #7862

    Problem with pipsize as suggested by Nicolas it works on all indexes. Great (as usual) job Nicolas!!

     

    One other comment… maybe (I’m testing it now) it doesn’t work properly the exit when RRreached=1. In some cases we lose more than the risk decided. A good trade turns into the worste one.

    #7873

    Please change this function to see if it happens again:

    Thanks.

     

    #7874

    Nicolas… you are too fast 🙂

    Your code solved the problem…

     

    Here my proposal. Have a look in the picture. If we are making good money and the account is bigger than the beginning we could reach this bad situation.

    2 Proposals:

    Stop loss should be fixed and not equal to the account? Maybe a stop loss linked to the volatility AND the account balance?

    Stoploss if after the first enrty we don’t reach a second entry in a certain time or number of candels.

     

    (Please tell me if I’m going out of topic, I know that you want to run it only once.)

    #7881

    forgot the attachment

    #7919

    Nicolas it works! First day of real time trading everything looks good, I was short on time today and only set it up for the Nikkei with 2 % SL and 10 grid step on a 1 min, most entries were taken with a step of about 15-20 pips but of course this is due to the fast moving price. On a highly volatile index like the Nikkei it probably needs to be run on a 1 second chart.


    @David
    great input, a mi piace! As for your above trade in oil, when we know that it is likely that the market will move and keep moving but we are uncertain of the direction run two sets of systems simultaneously, one long and one short. That’s what I did on the Nikkei today, the longs gave me a profit of 5.45 % and know I have a floating loss of 1.8 % which will either retrace or stop out at -2 %.

    #7935

    When trying in realtime do you keep the entry like close<close[1]? Does it mean that you enter pratically in a random moment??

    Or how did you decided to enter at 16.00?

    David

    #7936

    All this has been one of the best reads I have done in a long time. Thanks all for the input. In the spirit of sharing here is a system I trade, which could maybe help with an entry. It is a system that looks for a signal candle of a certain size and then trades into that same direction. It also has an addition to it where it enters long if an unexpected big red candle appears. This is done on the 1HR TF. Have a look and maybe this can be incorporated. Im adding X’s into the code as these numbers would differ from instrument to instrument like DAX vs SP500. p.s. my coding skills aren’t that great so if anyone can suggestion changes pls feel free.

     

    1 user thanked author for this post.
    #7938

    @cfta

    Since there´s been a lot of changes and new inputs to the original code, it would be great to know which version you use now and that you mentioned above that you tested real time today?

    And again thanks to everyone for all the input in this thread. Really interesting and I’ve learned a lot so far. Looking forward to when this code is combined with a fantastic entry strategy. It will be amazing:)

    #7946

    I agree with @Brage, could you @cfta please post the code you are using? Thanks!
    All the best!

    #7948

    In my opinion there are 2 codes that you should look for:

     

    Code number 1 (the last one posted by Nicholas if you want to do only 1 entry)

    Code number 2 (if you want to do more than 1 entry. posted below by me)

     

     

     

    #8015

    World indices made big performances yesterday with almost no retracement. That’s where this money management / add orders strategy is the most powerful. You are right about execution cfta, this implied that it needs to be launch on 1 seconds timeframe, as long that our entry don’t rely on indicator. We are all awaiting the multitimeframe support, which I hope will be soon.

     

Viewing 15 posts - 106 through 120 (of 307 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login