Random 1min EURUSD Scalper

Forums ProRealTime English forum ProOrder support Random 1min EURUSD Scalper

This topic contains 40 replies, has 8 voices, and was last updated by avatar Vonasi 11 months ago.

View all attachments
Viewing 15 posts - 1 through 15 (of 41 total)
  • #61531

    This scalping strategy is based on the concept of following a coin flip randomized approach to picking market direction and then simply managing the trade according to a Risk:Reward ratio of 1:2. The strategy also has equity curve management built-in to help optimize performance.

    The direction of the trade is randomly determined based on the fact that at any given point the direction of a candle will be either be red or green. The algorithm used will pick an historic candle between 1 and 5 bars back and use this as a binary coin flip to determine direction.

    Stoploss distance is determined dynamically through the use of a smoothed ATR and Take Profit is simply twice the Stoploss distance.


    1. Random-1min-Scalper.itf
    1 user thanked author for this post.

    Thank you Juanj, interesting concept 🙂 I move your post submission from the Library to the forum, because I’m not able to replicate the same interesting result on my side. Do you know why?


    Hi Nicolas, maybe it is the way prices are quoted on your system.

    Change the multiplication factor on line 55, start removing zeros until you get the same result as me.

    SL = ((average[20](range)+1.2*STD[20](range))*100000)


    @nicolas or it could be due to our time zone difference, so you can try changing line 10 to:

    If hour >= 8 and hour <= 21 Then

    But can’t think it would have such large effect. The strategy if adjusted for timezone differences is profitable on multiple markets that I have tested.


    This concept interesting, what is your opinions about: trend is your friend, follow the SMA200 , bla bla Bla?

    can you please post a pic of the values RX and SV, why you are saying is random? Looks pretty deterministic for me.

    In your fuction for ATR, you can use the function “pipsize”




    Better, but still not as good as your own test.. with or without spread.. I don’t understand why. Do anybody get the same result as juanj?


    Did you test the code? You can decomment lines 45 and 46 to get the RX and SV values on your own screen 🙂


    @leo, yes I do believe trading with the 200SMA is a good idea athough for this specific strategy I did not want to add a trend bias. I consider the trade direction random, because if you GRAPH DIR you will not see any recognizable pattern.


    @nicolas, I cannot understand your result. I tested with a spread of 0.8, maybe see if that makes the difference.

    Attached is the exact same algorithm on the AUDUSD tested with a spread of 1 and trading time of 2-19 (GMT), you need to adjust for GMT+1


    Same spread and GMT+1, tick mode, no same result! Can someone else confirm?


    This is my result. Looks like Nicolas.
    I´m GMT+1 but it dosen´t matter how I change the time in the code, I still get bad results.


    I realize now that because the direction is technically random the result will never be exactly the same as the starting point is always different.

    Yet the results should still not differ much. Will back test in my demo account to see if there is a difference.


    The system is chaotically in a pure sense. Slight difference in input cause totally different results.

    Very  interesting approach in any case.


    I am not at home at the moment, but I still thinking in your concept @juanj. Many authors can be agreed that invest in finantial markets is like flipping a coin.

    Therefore, try the same with some bias or another conditions,

    -momentum Like: ” close[RX] > Close”

    – a filter like for entry long, price should be avobe a parabolic SAR.

    Did you try another reward ratio like 1.5 or 3 ?



    Here my test.

    I will start experimenting



    I tried several things but still not being profitable.

    I tried: parabolic SAR and momentum and pending ordes

    Hope you get some other ideas



    I just studied this strategy whose concept is very interesting.
    However, it is not profitable such as with a TF 1min on a full day.
    So I set up a trading limit and go out every day with a gain.
    To optimize the number of trades per day, I’m spending on an 18s TF.
    The results are positive over a period of 20,000 units (impossible to go beyond, with a TF of 18s there is no more history)

    I give you my version below. I look forward to your comments.

    1. Random-Scalper-18s-EURUSD-v1.0.itf
Viewing 15 posts - 1 through 15 (of 41 total)

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