Re: XARD - Simple Trend Following Trading System

15831
Samoth wrote: Wed Jun 26, 2024 9:28 pm This question has probably been asked dozens of times, but I'll just ask it again. :sweat:

Has anyone ever built an EA for the Xard system?

With all the rules like 2nd dot, below/above daily open, stop loss above/below the last dot or semaphore, take profit when candle turns gray, the system is perfect for this.

I found some old EA's for Xard's system on MQL5 but they don't seem to work anymore. :think:
I think this is a GOOD IDEA :thumbup:


Re: XARD - Simple Trend Following Trading System

15832
dacanba wrote: Wed Jun 26, 2024 2:01 pm I have been working on tradingview, one of the good things about this platform is that you can immediately backtest the strategies.
Thanks to Chatgpt, I was able to convert the Semaphore indicator from version 4 to version 5. The difference between this indicator and Xard's is that you can choose whether or not you want confirmed signals, thereby avoiding many false signals that end up being repainted.
I asked Chatgpt to take it to MT4, but, I haven't had good results.
I leave you the mq4 file in case someone can fix it.

Este es el codigo en Tradingview

Code: Select all

//@version=5
indicator("Semafor", overlay=true, max_labels_count=300)

repaint = input(true, "Allow Drawing Of Unconfirmed Levels")

zigzag(Depth, Deviation, Color, Size, Type) =>
    var int lw = 1
    var int hg = 1
    lw := lw + 1
    hg := hg + 1
    p_lw = -ta.lowestbars(Depth)
    p_hg = -ta.highestbars(Depth)
    lowing = lw == p_lw or low - low[p_lw] > Deviation*syminfo.mintick
    highing = hg == p_hg or high[p_hg] - high > Deviation*syminfo.mintick
    lh = ta.barssince(not highing)
    ll = ta.barssince(not lowing)
    down = lh > ll
    lower = low[lw] > low[p_lw]
    higher = high[hg] < high[p_hg]
    if lw != p_lw and (not down[1] or lower)
        lw := p_lw < hg ? p_lw : 0
    if hg != p_hg and (down[1] or higher)
        hg := p_hg < lw ? p_hg : 0
    x1 = down ? lw : hg
    y1 = down ? low[lw] : high[hg]
    lb = down ? label.style_label_up : label.style_label_down
    var label point = na
    if repaint
        point := label.new(bar_index-x1, y1, color=Color, style=label.style_circle, size=Size)
        if down == down[1]
            label.delete(point[1])
    if not repaint and down != down[1]
        nx = down ? hg : lw
        point := label.new(bar_index-nx, down ? high[nx] : low[nx], color=Color, style=label.style_circle, size=Size)
    down != down[1]

var switchOn = false
if input(true, "Large")
    switchOn := zigzag(input.int(576, "Depth"), input(5.0, "Deviation"), input(color.red, "Color"), size.large, "Large") or switchOn
if input(true, "Medium")
    switchOn := zigzag(input.int(144, "Depth"), input(6.0, "Deviation"), input(color.orange, "Color"), size.small , "Small") or switchOn
if input(false, "Small")
    switchOn := zigzag(input.int(36, "Depth"), input(3.0, "Deviation"), input(color.lime, "Color"), size.tiny , "Tiny") or switchOn

alertcondition(switchOn, "Semafor Alert", "New Semafor Level Confirmed")
Greetings
Looks Good 👍🏻 btw after how many candle the big semafor appears? Let’s say in the M1

Re: XARD - Simple Trend Following Trading System

15834
Curioso wrote: Thu Jun 27, 2024 1:58 am Another NY Session, remember the patient and dedication is a key for success.
Heroes trading the M1 have my deepest respect.

Each time I get into the one minute abyss, usually I get wrecked. Perhaps should get the challenge again ;)
These users thanked the author Cagliostro for the post (total 2):
Curioso, LorenzoNexus
"I conjure from shadows and shape fortunes from the unseen. The treasure lies hidden in plain sight, beneath the sunlight." - Cagliostro

DownloadRe: XARD - Simple Trend Following Trading System

15835
Samoth wrote: Wed Jun 26, 2024 9:28 pm This question has probably been asked dozens of times, but I'll just ask it again. :sweat:

Has anyone ever built an EA for the Xard system?

With all the rules like 2nd dot, below/above daily open, stop loss above/below the last dot or semaphore, take profit when candle turns gray, the system is perfect for this.

I found some old EA's for Xard's system on MQL5 but they don't seem to work anymore. :think:
These users thanked the author heyuen7 for the post (total 3):
Samoth, Neroloft, Applejuice


Re: XARD - Simple Trend Following Trading System

15836
Samoth wrote: Wed Jun 26, 2024 9:28 pm This question has probably been asked dozens of times, but I'll just ask it again. :sweat:

Has anyone ever built an EA for the Xard system?

With all the rules like 2nd dot, below/above daily open, stop loss above/below the last dot or semaphore, take profit when candle turns gray, the system is perfect for this.

I found some old EA's for Xard's system on MQL5 but they don't seem to work anymore. :think:
Hello Samoth,

In this thread is about learning together how to use the xard trading strategy, but in this thread (the-fnc-greedy-system-t8475376.html) from funchi there a lot of information about process automated or semi automated.
Every entry into the market is a reflection of your courage. Every goal you overcome, however small it may seem, is a firm step towards your dreams.

Re: XARD - Simple Trend Following Trading System

15837
Cagliostro wrote: Thu Jun 27, 2024 2:01 am Heroes trading the M1 have my deepest respect.

Each time I get into the one minute abyss, usually I get wrecked. Perhaps should get the challenge again ;)
Remember my first days when im learning the xard (first of all is XU-Hybrid Version 7), with all majors and minors, a lot of stress. now i have less pairs and focus totally in the trend.
These users thanked the author Curioso for the post:
Mundu19
Every entry into the market is a reflection of your courage. Every goal you overcome, however small it may seem, is a firm step towards your dreams.

Re: XARD - Simple Trend Following Trading System

15838
Curioso wrote: Thu Jun 27, 2024 3:20 am Remember my first days when im learning the xard (first of all is XU-Hybrid Version 7), with all majors and minors, a lot of stress. now i have less pairs and focus totally in the trend.
What are your preferred pairs to trade at what sessions?

Here E / G pairs +gold and Fotsie for London, and U + gold and wall street cash for NY
These users thanked the author Cagliostro for the post:
Curioso
"I conjure from shadows and shape fortunes from the unseen. The treasure lies hidden in plain sight, beneath the sunlight." - Cagliostro

Re: XARD - Simple Trend Following Trading System

15839
Cagliostro wrote: Thu Jun 27, 2024 3:28 am What are your preferred pairs to trade at what sessions?

Here E / G pairs +gold and Fotsie for London, and U + gold and wall street cash for NY
I have four independent accounts:

Pairs: BTCUSD ; US30 ; XAUUSD ; XTIUSD
Trading hours (GMT): 0h -> 20h
TF: M1
These users thanked the author Curioso for the post:
Cagliostro
Every entry into the market is a reflection of your courage. Every goal you overcome, however small it may seem, is a firm step towards your dreams.

Re: XARD - Simple Trend Following Trading System

15840
Cagliostro wrote: Thu Jun 27, 2024 3:28 am What are your preferred pairs to trade at what sessions?

Here E / G pairs +gold and Fotsie for London, and U + gold and wall street cash for NY
Indicies all the way, DE40, NASDAQ, Dow Jones.

No crazy spikes like XAUUSD or forex pairs, just a nice wave to ride on + low comission + low spread :D
These users thanked the author Samoth for the post (total 4):
Cagliostro, Curioso, Neroloft, RobertPoznan