Youtube FX Scalping Strategy

Forums ProRealTime English forum ProOrder support Youtube FX Scalping Strategy

Viewing 13 posts - 1 through 13 (of 13 total)
  • #105089

    I’m fairly new to the site and after discovering this FX Scalping strategy on Youtube I though I’d have a crack at coding it on PRC.

    It uses a slower time-frame (2 hour) to identify a trend (for a few bars) and then enters long or short positions on the default (5 minute ) time-frame once the candlestick pulls back into the quickest MA. It then tightens the trailing stop once a certain profit level is reached and rides the trend until the trailing stop is activated.

    The backtests I can do in demo mode (on GBP/USD) do not show fantastic results; the best I can get is 60% winning trades (out of only 5 trades) giving 4% gain.

    Either my coding isn’t on point or the strategy is not as good as I’d hoped.

    If anyone can help review it and run an extended backtest it would be very much appreciated.

     

     

    #105093

    At first read, seems that the code is ok (and nicely formatted, well done). I didn’t view the video so I can’t confirm that it is in perfect alignment with it.

    #105113

    Thanks Nicolas.

    If anyone can make any improvement suggestions and/or is able to backtest over a longer time period to help understand if this strategy is worth pursuing that would be very welcome.

    Thanks.

    #105316

    I tried to test on a longer period, but I didn’t get any orders. I still don’t know why.. looking for an explanation 😯

    #105345

    I tried to test on a longer period, but I didn’t get any orders. I still don’t know why.. looking for an explanation 😯

    That’s very strange, I have just tried to run backtests on 100k bars and I’m also getting no trades at all. This was working fine a few days ago???

    #105371

    This looks very promising!

    A quick optimise and I got below, I’ll work on it more, but in view of your comments above – re no trades – I thought I’d add results now.  Spread = 4.  Be good to reduce value of losing trades somehow?

    Thank you for your sharing your hard work @nfulcher

    EDIT / PS

    Just realised that lot size = 10 so dd not too scary if lot size = 1 ! 🙂

     

    #105387

    Thanks, Grahal, pretty good results on the 5min DJI – and yes I need to reduce the Trading Size down a bit :-).

    Can you please explain the alphanumeric values you’ve used for the variables below (A8, A10 and A11)? I was under the impression these needed to be numeric values.

     

    #105398

    please explain the alphanumeric values

    Yeah I use the line numbers as the name of the variable.

    The values are shown above the equity curve, so  for A8 I chose 80 from the Optimiser, A10 – 12 and A11 – 20

    1 user thanked author for this post.
    #105401

    hahah … getting better  … but only a Live Forward Test will confirm.

    I did some Walk Forward Evaluation to arrive at attached, but I’m sure there is room for more improvement?

     

    #105513

    Interesting results Grahal,I’ll set this running on my IG demo account.

    Is it possible to Backtest with a variable to represent the wider timeframe which sets the trigger – it might be interesting to test whether a 2H, 1H, 4H or daily trigger gives the best signal.

    Alos, and maybe this is a separate post but can you advise, are there any good resources on the forum that explain how best to code for the different market times? I’m thinking if I have a promising strategy and want to try it with different market types (Indices, FX, etc) is there an elegant way to insert code blocks to manage the different trading times, time zones etc?

    Many thanks.

    #105520

    I stand to be corrected, but in short the answers to your 2 questions are … 🙂

    1. No
    2. No

    What I do is to flash through various Timeframes and a few Markets doing a backtest on max 10k bars (for speed of bt) and if a half decent equity curve shows itself then I dig deeper with appropriate range of values of values for the TF chosen. By appropriate I mean, for example, TP and SL need to be larger values for 1 hour than 1 min etc.

    PS

    I’ve set that v1 .itf going on demo also … we may both get virtual money rich together! 🙂

     

    1 user thanked author for this post.
    #105522

    is there an elegant way to insert code blocks to manage the different trading times, time zones etc?

    I misread your question, sorry,

    I’m sure some of the Wizards on here could do something along those lines, but you would have to manually  un-comment the respective block of code to match your chosen Market.

    1 user thanked author for this post.
    #105537

    I stand to be corrected, but in short the answers to your 2 questions are … 🙂

    1. No
    2. No

    What I do is to flash through various Timeframes and a few Markets doing a backtest on max 10k bars (for speed of bt) and if a half decent equity curve shows itself then I dig deeper with appropriate range of values of values for the TF chosen. By appropriate I mean, for example, TP and SL need to be larger values for 1 hour than 1 min etc.

    Thanks – makes sense.

    PS

    I’ve set that v1 .itf going on demo also … we may both get virtual money rich together! 🙂

    Let’s hope so!

     

Viewing 13 posts - 1 through 13 (of 13 total)

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