Page 1264 of 1980

Re: XARD - Simple Trend Following Trading System

Posted: Fri Jan 06, 2023 8:06 am
by Sarj
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

Posted: Fri Jan 06, 2023 9:06 am
by FAIZANXG
Sarj wrote: Fri Jan 06, 2023 8:06 am 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 ?
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.

Re: XARD - Simple Trend Following Trading System

Posted: Fri Jan 06, 2023 9:23 am
by TransparentTrader
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.

Re: XARD - Simple Trend Following Trading System

Posted: Fri Jan 06, 2023 9:24 am
by FAIZANXG
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

Posted: Fri Jan 06, 2023 9:34 am
by TransparentTrader
FAIZANXG wrote: Fri Jan 06, 2023 9:24 am That guy is from United kingdom. But yes they dont accept US clients

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.

Re: XARD - Simple Trend Following Trading System

Posted: Fri Jan 06, 2023 9:37 am
by FAIZANXG
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

Posted: Fri Jan 06, 2023 9:44 am
by XXXX
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.

Re: XARD - Simple Trend Following Trading System

Posted: Fri Jan 06, 2023 9:54 am
by Sarj
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

Posted: Fri Jan 06, 2023 9:58 am
by XXXX
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

Re: XARD - Simple Trend Following Trading System

Posted: Fri Jan 06, 2023 10:10 am
by TransparentTrader
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.