Ghoul – USD/CAD forex 1h mean rev strategy

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #75788 quote
    jebus89jebus89
    Participant
    Master

    Hi all, made this for USD/CAD before i realized that spread was so effing high here. (2,5 avg spread for me..)

    Its still profitable but only barely and i wouldnt run it..

    Its based on one of Connors strategies, got the idea from the latest episode of “better system trader” podcast.

    Anyways i was hoping someone might wanna pick this one up and see if they can add or do something for it. Some kind of filter would be awesome i guess. Its not perfect in any way but i thought i’d hear some opinions.

    Important notes:

    it looks “really good” in most forex pairs 1h, ive included a  no spread photo of EUR/GBP just to show what i mean. I wouldnt run it there either, cus again with the 1,7 avg spread in eur/gbp its crap.

    Im fairly new to mean reversion so im not sure if this looking good in many pairs is actually a good thing or not, cus as soon as i add spread its much more crappy.

    Am i onto something or am i chasing an imaginary dragon and should start over again fresh?

    Its made based on my process and method which i have described in this forum before. Optimized on roughly 30% of the data at first, then optimized again on data from 2005 -> 2015

    In usd/cad years 2015-2018 has not been optimized at all.

     

    • Picture 1 = No spread
    • Picture 2 = No spread
    • Picture 3 = With spread (2,5)
    • Picture 4 = With spread (2,5)
    • Picture 5 = No spread

     

    // Definition of code parameters
    DEFPARAM CumulateOrders = False // Cumulating positions deactivated
    
    // Conditions to enter long positions
    indicator1 = Williams[2](close) // 3
    c1 = (indicator1 CROSSES UNDER -85) // 80
    indicator2 = SuperTrend[4,80] // 3,80
    c2 = (close > indicator2)
    indicator3 = Average[100](close) // 200
    c3 = (close > indicator3)
    
    cx1 = close < open
    
    IF c1 AND c2 AND c3 and cx1 THEN
    BUY 1 CONTRACT AT MARKET
    ENDIF
    
    
    // Conditions to exit long positions
    indicator4 = Williams[4](close) // 3
    c4 = (indicator4 CROSSES OVER -30) // 40
    
    
    IF c4 THEN
    SELL AT MARKET
    ENDIF
    
    
    
    // Conditions to enter short positions
    indicator5 = Williams[2](close) // 3
    c5 = (indicator5 CROSSES OVER -10) // 20
    indicator6 = Average[300](close) // 200
    c6 = (close < indicator6)
    indicator7 = SuperTrend[3,80] // 3 , 80
    c7 = (close < indicator7)
    
    
    cc1 = close > open
    
    
    
    IF c5 AND c6 AND c7 and cc1 THEN
    SELLSHORT 1 CONTRACT AT MARKET
    ENDIF
    
    // Conditions to exit short positions
    indicator8 = Williams[3](close) // 3
    c8 = (indicator8 CROSSES UNDER -50) // 50
    
    
    IF c8 THEN
    EXITSHORT AT MARKET
    ENDIF
    
    
    //if longonmarket then
    //set target pprofit 55
    //endif
    
    //if shortonmarket then
    //set target pprofit 20
    //endif
    
    Nicolas thanked this post
    ghoul-1-eq.png ghoul-1-eq.png ghoul-2-nospread.png ghoul-2-nospread.png ghoul-4-eq-spread.png ghoul-4-eq-spread.png ghoul-3-spread.png ghoul-3-spread.png ghoul-eurgbp.png ghoul-eurgbp.png
    #75830 quote
    beziehbezieh
    Participant
    Average

    Looks like a good start, maybe if you try to work on strategies on 2/3h timeframe the spread wont affect as much 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Ghoul – USD/CAD forex 1h mean rev strategy


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
jebus89 @jebus89 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by beziehbezieh
8 years, 2 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 07/11/2018
Status: Active
Attachments: 5 files
ProRealCode ProRealCode
Loading...