Candlestick Scalper 1s discussion

Forums ProRealTime English forum ProOrder support Candlestick Scalper 1s discussion

  • This topic has 171 replies, 16 voices, and was last updated 1 year ago by avatarCMM.
Viewing 15 posts - 136 through 150 (of 172 total)
  • #142830

    Shorts again

    I think the shorts version was the same code reversed with a supertrend of 12,3 it restricted th elongs as well but if you just write it for the shorts and keep longs the same  likely it will work better, only a few trades mind but no losses… I’ll look to refine that on weekends, so maybe something popping up after I’ve had time to peruse it by Monday..

    2 users thanked author for this post.
    #142861

    Here’s a mod for increasing and decreasing the trade amount based on profit and losses, comments welcomed. I put up the code for the trade amount managment here:

    https://www.prorealcode.com/topic/increase-and-decrease-trade-amount-with-profit-and-loss/

    And here is the code mod for longs with trade amount management and absolute loss shutdown (think I go tthat bit correct) let me know if not.

     

    #142864

    Just to note for a £1 value I put -150 for absloss but can be any tolerance and the timezone is for UK

    #143184

    Hello,

    could we imagine a short version on the 1s system?

    #143266

    everythink is possible…  we should already make a long version that works… currently, it’s not the case..  few trades (one or two trades) can lose all gains

    Idea is to have a cash machine with some small gains quickly and very little on the market. It was the first idea of this bot

    I’m currently working on another version of 1s system based on half pivots

     

    #143272

    everythink is possible… we should already make a long version that works… currently, it’s not the case.. few trades (one or two trades) can lose all gains

    Idea is to have a cash machine with some small gains quickly and very little on the market. It was the first idea of this bot

    I’m currently working on another version of 1s system based on half pivots

    I’m currently running a number of combinations of filters but will need around 3 months at least to test those with any degree of usefulness at all.. I’ll post them in an excell file or something each month. Below is a code I’m runing live with minimal risk of £100 or so.  whilst it doesnt make a fortune if you risk manage the code for the max loss you want to tolerate, so if you have £20K say you could risk £200 or £400 for a 1 or 2 % overall risk of the program, that would be “myamount=0.66 or 1.32” then you can put your quit amount in accordingly. The code below has a 100% result over 7 months or so, data is limiting at the moment, So I’ve stuck it up live with an overall risk of £100 fo rth eprogram in total, and the amount traded will increase once the profit is sufficient and then reset itself to its start amount. Yes this could stop you out more, but then the risk is reduced again. Based on the 100% gains this did as well as the orignal trail give or take, and simply has a TP of 28..  Currently the others are doing OK for at least 2 of them, however the loger term picture may be different as you say due to the risk management of 300 pips being excessive if stopped out.  If you get some good programs making smaller amounts and have more of them, your yearly profit will likely increase..

     

    3 posts above I put up an attachment of the backtest – Currently its traded twice in a week, so if it does OK I will likely increase overallrisk to £200 once up to £100 profit and that will increase duration of the risk but double the profits and then just leave run and see how it goes. Have that live at the mo as its risk managed and a marginal amount for me.

     

    Hope that helps

     

     

    8 users thanked author for this post.
    #143314

    you could do the same for 1s version? I’m not good enough to code it correctly…thanks

    #143317

    No the 1 second version cant be backtested because of data limitation, so you don’t know its reliability without forward testing on demo. So minimum of 3 months testing, probably have better idea after 6 months of testing.. Sometimes you just gotta play the long game…

    #143371

    We need to get the Shorts working without reducing profit on Longs??

    Anybody done any work on a Short Version of this Algo please?

    #143381

    I’ll have another look on weekend, original version was with excessive losses, I’ll have to backtest on minute only due to data though, I recall I had a brief look and whils tit remained 100% I think it took all traades out bar 3.. hmm.. I just reversed the coding for hsorts I think found it with excessive losses and started looking at  filters, to reduce liklihood of losses..

     

    Maybe look at my reversal code, may have got it wrong, have to dig it out.. Haven’t been back to it to be honest.. here the code is reversed I think, and the supertrend values changes, tweaking them can amend losses, but I haven’t looked at this enough yet and this is just for the reversed code to look at filters to reduce liklihood of losing trades..

     

     

    #143384

    You will see on th eattachment that my chaos addition is soaring ahead, those 2 are both teh 1 minute, but the one doing well is ran on the 1 second chart adding some chaos into the mix cos the program reacts differently when ran on LTFs believe it or not… so Chaos works.. 🙂 maybe cos the programmers working against you cant foretell it.. hmmm. who knows

    Just added that out of interest really.. thats the original 1 minute code ran on a 1 second chart, they both the same code, the 1 second code nowhere near that..

    1 user thanked author for this post.
    #143464

    So not much changed, but when I was looking at a simple way to get rid of losses I noted that changing the c21b to 5 and changing supertrend to 12,2 changed the in-trade drawdown characteristics, you could use something like 10 and 12,3 for the same amount of trades but drawdown was significantly more – in essence it meant the trades taken had reduced drawdown and removed drawdown  to around only 1/4 risk max and mainly minimal with the code here, so essentially its entering on direction is improved greatly. Only 2 of the 7 trades drew down at all really. I may take a peak at this for longs as it goes in relation to drawdown in-trade, though the longs doing ok, I’ve added code on my longs to start at 0.5% risk and progress to 1% then 2% risk ongoing once the profits acrue sufficiently and doing that in 3 increments of 0.5%, 1% and 2% risk accordingly, that way the program will risk manage itself and I’ve put a quit level of 1% loss to review if failing. So the shorts here are not many, an average of a little over 1 a month, but only trading in 3 of the 6 months I can currently backtest :- oh how I yearn for that extra data that’s forthcoming!!

    I’m tempted to stick it in the long code, but think due to the minimal amount of trades I’ll have to test this longer unless I can do for a couple of years, which may be possible this year some time, it won’t be going live short at any time soon due to my risk management practices.

    On the basis of the code criteria for entry, the only way to modify further would change the code to a different program probably, though I am monitoring how the volume effects it.. but as I said probably do this more comprehensively once the data is available which should allow a 2 year backtest once it comes – on the 1 minute chart.. So if that proves to have good results I’ll probably stick it up live once twekaked and there’s more substantive data.

    Forward testing is continuing but I think further refinement is now limited until data arrival – from my perspective anyway, but I’ll certainly rekindle it the minute I get the data. The longs are already live for me with my amended code.

    Hope that helps

     

    1 user thanked author for this post.
    #143465

    oh #i made an error there in the code timeframe..

    #143472

    Looking at the code, surely there a few lines that (IMO) are preventing more profitable trades?

    Do we really want C41m = 1 > 0 (or is it -1 for boolean logic??)?

    Also substitute values for Close and Open for Longs and Shorts and you will see that we don’t need the abs(…)??

    Using, for example, abs(close-open) >= 16 could derive from price action where Close -Open >= – / minus 16 and yet with abs( …) the absolute value of 16 ( – / minus ignored)  would be used … is that what we want??

    Just a few thoughts anyway.

    Hope that make sense, wife calling me to go for a walk now! 🙂

     

    #143473

    That’s interesting.

    So 1 minute all timeframes with same code improves the program, no 15 minutes timeframe improves results significantly on the 1 minuteprogram.

    On the longs it basically trebled profits removing 15 mins whilst increasing trades and went to 1 stopout in 86 trades, so I’ll look at that again later..

    On th eshorts it goes from 1 trade to 7.

    That was with my trade amount management in mind, so more trades increased the profit more quickly, however program would have succeeded with the 1% risk tolerance for quit on th elongs with oly one stopout.

Viewing 15 posts - 136 through 150 (of 172 total)

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