Attachments forums

List of attachments posted on this forum.


All files on forums: 135875

Re: XARD - Simple Trend Following Trading System

XXXX, Fri Jan 06, 2023 9:43 am

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.
All files in topic