Re: XARD - Simple Trend Following Trading System

12631
Sarj wrote: Fri Jan 06, 2023 4:12 am Hello Xard, Can you please fix the Xard Index. Thank you for all you've given :thumbup:

XARD: In the Xard Index Line code you have to add the different brokers sysmbol used for WS30

int init(){

if(SymbolPair=="")SymbolPair=Symbol();

if(StringSubstr(Symbol(),0,4)=="WS30") {angle_up=360; angle_dn=360;}
if(StringSubstr(Symbol(),0,4)=="US30") {angle_up=360; angle_dn=360;}
if(StringSubstr(Symbol(),0,2)=="DJ") {angle_up=360; angle_dn=360;}
if(StringSubstr(Symbol(),0,4)=="DE30") {angle_up=360; angle_dn=360;}
if(StringSubstr(Symbol(),0,5)=="US30m") {angle_up=360; angle_dn=360;}


add new line
if(StringSubstr(Symbol(),0,4)=="Insert new symbol") {angle_up=360; angle_dn=360;}
then compile and it should work
Thank you Xard, but how do I decide on what angle to use for the currencies ? is it 22.5 default as seen in mql file ?


Re: XARD - Simple Trend Following Trading System

12633
FAIZANXG wrote: Fri Jan 06, 2023 9:06 am Just change your broker to GOMarkets (Used by Mr.Xard) or GlobalPrime (Used by Mr.Fourxxxx).
You won't even look back at any other broker.

Just be careful with the broker you choose, because I know for a fact those two brokers do not accept clients from the USA and other select countries.

At some point we'll need to develop a comprehensive list of brokers that are best for people depending on which country they live in.
These users thanked the author TransparentTrader for the post:
Shockr

Re: XARD - Simple Trend Following Trading System

12634
TransparentTrader wrote: Fri Jan 06, 2023 9:23 am Just be careful with the broker you choose, because I know for a fact those two brokers do not accept clients from the USA and other select countries.

At some point we'll need to develop a comprehensive list of brokers that are best for people depending on which country they live in.
That guy is from United kingdom. But yes they dont accept US clients


Re: XARD - Simple Trend Following Trading System

12636
TransparentTrader wrote: Fri Jan 06, 2023 9:34 am Something I just realized: Are the majority of users on Forex-Station not from Canada or the USA?

It would explain why most broker recommendations are tailored toward people living in the Eastern part of the world.
Oanda and Forex.com is famous between US clients, I’ve also seen them use alot of offshore brokers too since they offer crypto deposit/withdrawls

Re: XARD - Simple Trend Following Trading System

12637
waal69 wrote: Thu Jan 05, 2023 10:59 pm I am using RoboForex. Your Daily Open line is in a different position from mine. How I wish everybody was using one broker.
Thanks a million for the info about IndexEntry. I will wait.
I opened a demo account with your broker my broker was still trading 30 minutes after yours had stopped. Yes, the open price is different, I don't know what is going on there.

Anyway, I tried Xards fix but it did not change, I used this to get the US30 chart Index Entry to match mine.

if(StringSubstr(Symbol(),0,9)==".US30Cash") {angle_up=120; angle_dn=120;}

Code: Select all

      if(StringSubstr(Symbol(),0,4)=="WS30")  {angle_up=360; angle_dn=360;}
   if(StringSubstr(Symbol(),0,4)=="US30")  {angle_up=360; angle_dn=360;}
   if(StringSubstr(Symbol(),0,2)=="DJ")    {angle_up=360; angle_dn=360;}
   if(StringSubstr(Symbol(),0,4)=="DE30")  {angle_up=360; angle_dn=360;}
   if(StringSubstr(Symbol(),0,9)==".US30Cash")  {angle_up=120; angle_dn=120;}
   
   if(StringSubstr(Symbol(),0,5)=="US500") {angle_up=180; angle_dn=180;}
   if(StringSubstr(Symbol(),0,6)=="XAUUSD"){angle_up=180; angle_dn=180;}
   if(StringSubstr(Symbol(),0,5)=="DAX30") {angle_up=360; angle_dn=360;}
   if(StringSubstr(Symbol(),0,6)=="GBPUSD"){angle_up= 22.5; angle_dn= 22.5;}
   if(StringSubstr(Symbol(),0,6)=="GBPJPY"){angle_up= 22.5; angle_dn= 22.5;}
   if(StringSubstr(Symbol(),0,6)=="USOUSD"){angle_up= 67.5; angle_dn= 67.5;}

But this may or may not work for other brokers and symbols. As well as changing the angle value you need to enter the correct number of characters in the symbol name where I entered 9 as above.
These users thanked the author XXXX for the post (total 3):
Musashi, waal69, Skyold
nil desperandum

Re: XARD - Simple Trend Following Trading System

12638
FourXXXX wrote: Fri Jan 06, 2023 9:44 am I opened a demo account with your broker my broker was still trading 30 minutes after yours had stopped. Yes, the open price is different, I don't know what is going on there.

Anyway, I tried Xards fix but it did not change, I used this to get the US30 chart Index Entry to match mine.

if(StringSubstr(Symbol(),0,9)==".US30Cash") {angle_up=120; angle_dn=120;}

Code: Select all

      if(StringSubstr(Symbol(),0,4)=="WS30")  {angle_up=360; angle_dn=360;}
   if(StringSubstr(Symbol(),0,4)=="US30")  {angle_up=360; angle_dn=360;}
   if(StringSubstr(Symbol(),0,2)=="DJ")    {angle_up=360; angle_dn=360;}
   if(StringSubstr(Symbol(),0,4)=="DE30")  {angle_up=360; angle_dn=360;}
   if(StringSubstr(Symbol(),0,9)==".US30Cash")  {angle_up=120; angle_dn=120;}
   
   if(StringSubstr(Symbol(),0,5)=="US500") {angle_up=180; angle_dn=180;}
   if(StringSubstr(Symbol(),0,6)=="XAUUSD"){angle_up=180; angle_dn=180;}
   if(StringSubstr(Symbol(),0,5)=="DAX30") {angle_up=360; angle_dn=360;}
   if(StringSubstr(Symbol(),0,6)=="GBPUSD"){angle_up= 22.5; angle_dn= 22.5;}
   if(StringSubstr(Symbol(),0,6)=="GBPJPY"){angle_up= 22.5; angle_dn= 22.5;}
   if(StringSubstr(Symbol(),0,6)=="USOUSD"){angle_up= 67.5; angle_dn= 67.5;}

But this may or may not work for other brokers and symbols. As well as changing the angle value you need to enter the correct number of characters in the symbol name where I entered 9 as above.
Image
Is this working for currencies. I've tried using different angles but not having any joy ?

XXXX: But this may or may not work for other brokers and symbols. As well as changing the angle value you need to enter the correct number of characters in the symbol name where I entered 9 as above.

Re: XARD - Simple Trend Following Trading System

12639
TransparentTrader wrote: Fri Jan 06, 2023 9:34 am Something I just realized: Are the majority of users on Forex-Station not from Canada or the USA?

It would explain why most broker recommendations are tailored toward people living in the Eastern part of the world.
US Population 331,900,000
Canada Population 38,250,000
US + Canada = 370,150,000
World Population 8,000,000,000
Difference 7,629,850,000
These users thanked the author XXXX for the post (total 5):
kvak, Chickenspicy, Musashi, Mickey Abi, Skyold
nil desperandum

Re: XARD - Simple Trend Following Trading System

12640
FourXXXX wrote: Fri Jan 06, 2023 9:58 am US Population 331,900,000
Canada Population 38,250,000
US + Canada = 370,150,000
World Population 8,000,000,000
Difference 7,629,850,000

Thanks for the numbers but I didn't ask my question in a derogatory manner.

I was just asking because I know other forums tend to be mostly composed of North American traders, and didn't realize this forum was mostly traders from other parts of the world. That's all.


Who is online

Users browsing this forum: BeatlemaniaSA, Google [Bot], knglerxst and 55 guests