ncandle and reversal filtered strategy

Viewing 12 posts - 16 through 27 (of 27 total)
  • Author
    Posts
  • #40024 quote
    edocasa
    Participant
    Junior

    Ciao Francesco,

     

    scusa se ti disturbo,ho fatto realizzare un trading sistem su prorealtime,ci sono problemi riguardo i pattern di ingresso,mi puoi aiutare ?

    grazie

    #45825 quote
    rejo007
    Participant
    Senior

    i have the same problem, the backtest is not similar to yours.

    do you have find a solution?

    thanks

    #45827 quote
    Francesco78
    Participant
    Master

    hi rejo.

    no not really. But  there must be a solution. check carefully the code line by line and see if the problem is related the fact that fx pair are quoted with different number of decimals in uk and in eu.

    best of luck.

    Franceasco

    #48099 quote
    CN
    Participant
    Senior

    @Francesco78

    Thanks for great strategies.
    They dont seem to work thou, could you please re-upload them?

    #51908 quote
    wanjpt
    Participant
    Senior

    Hi Francesco78, Thanks a lot for this strategy, am new to coding and wonderwhich the bit of the code do i need to change to have fixed position instead of the current  position sizing based on volatility..

    please let me know.

    Thanks

    #52113 quote
    jebus89
    Participant
    Master

    I’m having some trouble myself, and i do belive it has to do with the numbers…

    I Changed the ATRMIN from 5, to 20 and got over 4000 trades with 3330 winning and 708 losing 😛

    It is now BEYOND profitable, obviously my EQ curve looks nothing like yours francesco.

    Ill keep trying but there has to be some issue with my price.
    In my USD/JPY 1h the price is 113,290 (as in “113 point 290”, not “113-thousand 290”)

     

    I’ve included photo of my EQ curve.

    3333.png 3333.png
    #52118 quote
    jebus89
    Participant
    Master

    Woopsie, okay so now i noticed that my backtest result ^ Came from running the “USDCAD_ncandlereversion” strategy on USDJPY  AND no tick-by-tick test ^^

    #52122 quote
    Francesco78
    Participant
    Master

    I think you didnt select the probackest in tick to tick mode on the backtesting option

    #52123 quote
    BC
    Participant
    Master

    Hi Jebus

    Wow~it look really amazing, can you share the code? Thx.

    #52125 quote
    jebus89
    Participant
    Master

    God damnet, this looks very sexy, but i cannot get it to work 😀 The only variable that might get fucked from the different price-setting (depending on broker u use) is the ATR, or am i mistaken here?

     

    Forget about my last picture as francesco said, i forgot the tick by tick 😛 Here’s a picture of 200K backtest with tick by tick. No changes made to the code.

     

    How many trades should i see on 100K backtest 15min USDJPY francesco? 🙂  atm i got 4144 trades, 273 win / 3871 loss — 4,33 pr day 😛  Obviously the filter is not working for me and im guessing it has to do with my USDJPY right now is 113.340 (One hundred and thirteen point three hundred and fourty)

    aaaaaaa.png aaaaaaa.png
    #52141 quote
    jebus89
    Participant
    Master

    Okay so it seems that every trade is hitting stop loss within seconds after trade is done. Something is definitely wrong there..

    I have done 2 things to the code:

    First I removed the code for exit and just placed 60 stop loss and 50 target (just from 1 walk forward 1 period..) and got this (see photo for 100K backtest.)

    Second i had to remove the positioning code, because i was running up MILLIONS of dollars 😛 The positioning was crazy, so i changed it to just “1 contract”

    (usdcad  mini 1h)

    Now it at least looks like a more normal strategy but i think theres something wrong with my numbers compared to Francesco 🙂

    Price on my USD/CAD: 1.27223 and Im guessing Francesco has something more similar to: 127.223? Not sure how to “fix” the code..

     

    PS: as u can see on my picture, my ATR goes from 0.001 – 0.003 as the 10% highest tops…

    2122.png 2122.png
    #66875 quote
    Gianluca
    Participant
    Master
Viewing 12 posts - 16 through 27 (of 27 total)
  • You must be logged in to reply to this topic.

ncandle and reversal filtered strategy


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 26 replies,
has 11 voices, and was last updated by Gianluca
7 years, 11 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 05/18/2017
Status: Active
Attachments: 11 files
Logo Logo
Loading...