Re: XARD - Simple Trend Following Trading System

#6505
The benefits of using the portrait view screen

You can code on one part of the screen while seeing the result on the chart below... nice.
I tested the Daily percent figure (making sure that it went to zero the following day).
Works a treat.
Xard777
Editor + Chart.png
XARD: Use the Orange ZZ line as your Intra-Day BIAS - Use the White Dot as your IntraDay HIGH/LOW - Use the White ZZ line for IntraDay EXIT - After a new Orange ZZ line appears, WAIT! for price to cross the Trend line to confirm a change in the Trend Cycle.


Re: XARD - Simple Trend Following Trading System

#6506
Not really trading today, just testing stuff.
You can see the Daily & Current percent working OK.
Now running three sets of Triangles TF-1, TF0, and TF+1
Xard777
Test.gif
XARD: Use the Orange ZZ line as your Intra-Day BIAS - Use the White Dot as your IntraDay HIGH/LOW - Use the White ZZ line for IntraDay EXIT - After a new Orange ZZ line appears, WAIT! for price to cross the Trend line to confirm a change in the Trend Cycle.

Re: XARD - Simple Trend Following Trading System

#6507
Yuri_I wrote:
Thu Mar 18, 2021 1:22 am
Open the properties of this indicator and write the symbols as they appear in your MT4. I think so. Why once again strain a person.
That post was not meant for you, so no need for your response. I've been here for a little while now and I don't make unneccesary requests. Xard understands what I mean. The price display on the XU Panel comes out with many decimal places. This is because my broker symbol is "GER30.i" and Xard doesn't have that in his code. I could easily fix that if I had the .mq4 file.

XARD: I already have GER in the code, it should work as GER30
if( StringFind( aPairs[x], "JPY", 0) != -1 ) { Precision = 100; nDigits = 2+digits;}
else if( StringFind( aPairs[x], "WS3", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "DJ", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "DOW", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "US3", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "#US", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "US5", 0) != -1 ) { Precision = 10; nDigits = 1+digits;}
else if( StringFind( aPairs[x], "S&P", 0) != -1 ) { Precision = 10; nDigits = 1+digits;}
else if( StringFind( aPairs[x], "SP5", 0) != -1 ) { Precision = 10; nDigits = 1+digits;}
else if( StringFind( aPairs[x], "SPX", 0) != -1 ) { Precision = 10; nDigits = 1+digits;}
else if( StringFind( aPairs[x], "UST", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "NDX", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "US1", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "NAS", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "US2", 0) != -1 ) { Precision = 10; nDigits = 1+digits;}
else if( StringFind( aPairs[x], "HK5", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "HKC", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "NIK", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "JP2", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "JPN", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "CHI", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "CAC", 0) != -1 ) { Precision = 1; nDigits = 1+digits;}
else if( StringFind( aPairs[x], "FRA", 0) != -1 ) { Precision = 1; nDigits = 1+digits;}
else if( StringFind( aPairs[x], "DAX", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "DE" , 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "GER", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "#GE", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "DE3", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "ITA", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "ESP", 0) != -1 ) { Precision = 1; nDigits = 1+digits;}
else if( StringFind( aPairs[x], "SPA", 0) != -1 ) { Precision = 1; nDigits = 1+digits;}
else if( StringFind( aPairs[x], "FTS", 0) != -1 ) { Precision = 1; nDigits = 1+digits;}
else if( StringFind( aPairs[x], "UK1", 0) != -1 ) { Precision = 1; nDigits = 1+digits;}
else if( StringFind( aPairs[x], "UKO", 0) != -1 ) { Precision = 1000; nDigits = 3+digits;}
else if( StringFind( aPairs[x], "USO", 0) != -1 ) { Precision = 1000; nDigits = 3+digits;}
else if( StringFind( aPairs[x], "WTI", 0) != -1 ) { Precision = 1000; nDigits = 3+digits;}
else if( StringFind( aPairs[x], "BRE", 0) != -1 ) { Precision = 1000; nDigits = 3+digits;}
else if( StringFind( aPairs[x], "XAG", 0) != -1 ) { Precision = 100; nDigits = 3+digits;}
else if( StringFind( aPairs[x], "SIL", 0) != -1 ) { Precision = 100; nDigits = 3+digits;}
else if( StringFind( aPairs[x], "NAT", 0) != -1 ) { Precision = 100; nDigits = 3+digits;}
else if( StringFind( aPairs[x], "XAU", 0) != -1 ) { Precision = 10; nDigits = 1+digits;}
else if( StringFind( aPairs[x], "GOL", 0) != -1 ) { Precision = 10; nDigits = 1+digits;}
else if( StringFind( aPairs[x], "BTC", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else { Precision = 10000; nDigits = 4+digits;}

Re: XARD - Simple Trend Following Trading System

#6509
traderokey wrote:
Thu Mar 18, 2021 10:08 pm
That post was not meant for you, so no need for your response. I've been here for a little while now and I don't make unneccesary requests. Xard understands what I mean. The price display on the XU Panel comes out with many decimal places. This is because my broker symbol is "GER30.i" and Xard doesn't have that in his code. I could easily fix that if I had the .mq4 file.

XARD: I already have GER in the code, it should work as GER30
if( StringFind( aPairs[x], "JPY", 0) != -1 ) { Precision = 100; nDigits = 2+digits;}
else if( StringFind( aPairs[x], "DAX", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "DE" , 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "GER", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "#GE", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else if( StringFind( aPairs[x], "DE3", 0) != -1 ) { Precision = 1; nDigits = 0+digits;}
else { Precision = 10000; nDigits = 4+digits;}

Thanks Xard for checking this out. It displays 4 decimal places on my platform but that's just aesthetic issue, I can definitely live with that. Thanks again

XARD: OOps! My Bad, I thought it was the Dash that was to be amended. It is the Panel. OK, try this...

GER30-i.PNG

Update
Whoop whoop!! Thanks Xard. It works perfectly plus the Daily percent feature!
XU v3-Panel.ex4
(62.43 KiB) Downloaded 181 times

Re: XARD - Simple Trend Following Trading System

#6510
xard777 wrote:
Thu Mar 18, 2021 9:52 pm
Not really trading today, just testing stuff.
You can see the Daily & Current percent working OK.
Now running three sets of Triangles TF-1, TF0, and TF+1
Xard777

The Daily percent feature works a treat. It's going to be so helpful to me especially to remind me to stop and not be greedy...

Daily Percent feature.PNG


  1. Similar Topics

    1. XU-MA Indicator Buffers (Automating Xard System)

      2 Replies 5064 Views

      by Jagel, Mon Dec 07, 2020 10:37 am in Coding Help

      2 Replies
      5064 Views
    2. Simple MTF system

      10 Replies 1768 Views

      by ruudik, Thu Sep 02, 2021 6:21 pm in Trading Systems

      10 Replies
      1768 Views
    3. 0 Replies
      1196 Views

Return to “Trading Systems”

Users viewing this forum: cephei, choimboo, CommonCrawl [Bot], FourXXXX, KIMKE.KUBI, Mrs.Watanabe, Qwantify [Bot] and 20 guests