Re: XARD - Simple Trend Following Trading System

15721
lukgoku wrote: Tue Jun 18, 2024 5:30 pm Hi Lenovo,
I agree in part, confirmations if they add stability to a recalculating system don't hurt, especially for those approaching the universe. They help me.
Of course they don't have to be complicated, the supertrend or a TDI or a CCI like Neroloft uses are not to be underestimated. Funchi's bar is an idea but needs to be explored further, I agree in that.

Having said that MTF is useful but it is inherent in Xard's system: if you notice the arrow formations by pulling over higher TFs you understand how useless it is to pull them over because the sema do it all on their own and show you what is going on 'above'. Then if you look at an h1 at the start of the day it certainly doesn't hurt.

In any case, I thank you for the insight and comparison which is always useful.

Happy trading to all!
okay, it's okay for everyone to express their opinion, I expressed an opinion dictated by how I used to be compared to what I do today, however if all this satisfies you well come.
I take this opportunity to say goodbye to everyone and wish you a happy summer vacation,
See you again in September , I will finish with today :thumbup: :star:
These users thanked the author Lenovo for the post:
lukgoku


Re: XARD - Simple Trend Following Trading System

15722
Lenovo wrote: Tue Jun 18, 2024 5:38 pm okay, it's okay for everyone to express their opinion, I expressed an opinion dictated by how I used to be compared to what I do today, however if all this satisfies you well come.
I take this opportunity to say goodbye to everyone and wish you a happy summer vacation,
See you again in September , I will finish with today :thumbup: :star:
Buone vacanze e salutami la Sicilia!
The best things in life are free!


Re: XARD - Simple Trend Following Trading System

15726
Samoth wrote: Wed Jun 19, 2024 9:30 am Is there any way to shorten the decimals in Panel 1?
You need to edit this part of the code

if(SymPair=="") SymPair=Symbol(); myPoint=SetPoint();
if(StringFind (Symbol(),"JPY",0) != -1) {DecNos=2; pipsize=10;}
else if(StringSubstr(Symbol(),0,8)=="USDOLLAR") {DecNos=3; pipsize=1;}
else if(StringSubstr(Symbol(),0,3)=="VIX") {DecNos=3; pipsize=1;}
else if(StringSubstr(Symbol(),0,7)=="CHINA50") {DecNos=0; pipsize=100;}
else if(StringSubstr(Symbol(),0,6)=="BTCUSD") {DecNos=0; pipsize=100;}
else if(StringSubstr(Symbol(),0,6)=="ETHUSD") {DecNos=2; pipsize=10;}
else if(StringSubstr(Symbol(),0,6)=="BCHUSD") {DecNos=2; pipsize=10;}
else if(StringSubstr(Symbol(),0,6)=="LTCUSD") {DecNos=3; pipsize=1;}
else if(StringSubstr(Symbol(),0,6)=="XRPUSD") {DecNos=4; pipsize=1;}
else if(StringSubstr(Symbol(),0,5)=="US500") {DecNos=1; pipsize=10;}
else if(StringSubstr(Symbol(),0,6)=="SPX500") {DecNos=1; pipsize=10;}
else if(StringSubstr(Symbol(),0,5)=="SP500") {DecNos=1; pipsize=10;}
else if(StringSubstr(Symbol(),0,6)=="UKOUSD") {DecNos=3; pipsize=10;}
else if(StringSubstr(Symbol(),0,6)=="USOUSD") {DecNos=3; pipsize=10;}
else if(StringSubstr(Symbol(),0,6)=="XTIUSD") {DecNos=3; pipsize=10;}
else if(StringSubstr(Symbol(),0,7)=="USOil-F") {DecNos=3; pipsize=10;}
else if(StringSubstr(Symbol(),0,4)=="HK50") {DecNos=0; pipsize=100;}
else if(StringSubstr(Symbol(),0,6)=="JPN225") {DecNos=0; pipsize=100;}
else if(StringSubstr(Symbol(),0,5)=="JP225") {DecNos=0; pipsize=100;}
else if(StringSubstr(Symbol(),0,7)=="FTSE100") {DecNos=1; pipsize=10;}
else if(StringSubstr(Symbol(),0,7)=="STOXX50") {DecNos=1; pipsize=10;}
else if(StringSubstr(Symbol(),0,6)=="XAGUSD") {DecNos=3; pipsize=10;}
else if(StringSubstr(Symbol(),0,6)=="XAUUSD") {DecNos=1; pipsize=10;}
else if(StringSubstr(Symbol(),0,6)=="NAS100") {DecNos=0; pipsize=100;}
else if(StringSubstr(Symbol(),0,6)=="NDX100") {DecNos=0; pipsize=100;}
else if(StringSubstr(Symbol(),0,6)=="US2000") {DecNos=1; pipsize=10;}
else if(StringSubstr(Symbol(),0,6)=="USDMXN") {DecNos=3; pipsize=100;}
else if(StringSubstr(Symbol(),0,6)=="ASX200") {DecNos=1; pipsize=10;}
else if(StringSubstr(Symbol(),0,6)=="AUS200") {DecNos=1; pipsize=10;}
else if(StringSubstr(Symbol(),0,5)=="DAX30") {DecNos=0; pipsize=100;}
else if(StringSubstr(Symbol(),0,5)=="GER30") {DecNos=0; pipsize=100;}
else if(StringSubstr(Symbol(),0,5)=="#US30") {DecNos=0; pipsize=100;}
else if(StringSubstr(Symbol(),0,5)=="ESP35") {DecNos=1; pipsize=100;}
else if(StringSubstr(Symbol(),0,5)=="CAC40") {DecNos=1; pipsize=100;}
else if(StringSubstr(Symbol(),0,4)=="US30") {DecNos=0; pipsize=100;}
else if(StringSubstr(Symbol(),0,2)=="DJ") {DecNos=0; pipsize=100;}
else if(StringSubstr(Symbol(),0,4)=="DE30") {DecNos=0; pipsize=100;}
else if(StringSubstr(Symbol(),0,5)=="UK100") {DecNos=1; pipsize=100;}
else if(StringSubstr(Symbol(),0,5)=="USTEC") {DecNos=0; pipsize=100;}
else if(StringSubstr(Symbol(),0,3)=="WTI") {DecNos=3; pipsize=1;}
else if(StringSubstr(Symbol(),0,5)=="JP225") {DecNos=0; pipsize=100;}
else if(StringSubstr(Symbol(),0,4)=="GOLD") {DecNos=1; pipsize=10;}
else if(StringSubstr(Symbol(),0,4)=="WS30") {DecNos=0; pipsize=100;} else {DecNos=4; pipsize=10;}


Copy this line and edit the name to match your symbol will probably fix it, if not you will need edit DecNos and Pip size.
"else if(StringSubstr(Symbol(),0,6)=="NAS100") {DecNos=0; pipsize=100;}"

else if(StringSubstr(Symbol(),0,6)==".USTECH") {DecNos=0; pipsize=100;}
These users thanked the author XXXX for the post (total 4):
Curioso, Samoth, lukgoku, Mundu19
nil desperandum

Re: XARD - Simple Trend Following Trading System

15729
I have made some tweaks - works for me on any symbol without the need to make further changes in code. The box is slightly wider and taller though.
Samoth wrote: Wed Jun 19, 2024 9:30 am Is there any way to shorten the decimals in Panel 1?
These users thanked the author chris006 for the post:
Samoth