hi guys
I hope I post at the right place if not feel free to move my post.
After joining the forum I started to experiment with HGI first and HGB there after on indices. I do not trade currencies. After 3 days of operating on US30, UK100 and DE30 I must say I've been extremely pleased about the results. It's too early for finale conclusions but I'll make sure to share my setup with all of you once I manage to fix small issues.
I've pretty much read everything I could PDF,Threads etc. after looking into the code (I'm not a coder) I found the way to fix my main issue regarding pip value for symbols encoded on line 563. I had to change my broker symbols against the hard coded one see bellow.
Code: Select all
//Calculating the factor needed to turn pip values into their correct points value to accommodate different Digit size.
//Thanks to Lifesys for providing this code. Coders, you need to briefly turn of Wrap and turn on a mono-spaced font to view this properly and see how easy it is to make changes.
//string pipFactor[] = {"JPY","XAG","SILVER","BRENT","WTI","XAU","GOLD","SP500","S&P","UK100","WS30","DAX30","DJ30","NAS100","CAC400"};
//double pipFactors[] = { 100, 100, 100, 100, 100, 10, 10, 10, 10, 1, 1, 1, 1, 1, 1};
string pipFactor[] = {"JPY","XAG","SILVER","BRENT","WTI","XAUUSD","GOLD","US500","S&P","UK100","STOXX50","DE30","US30","USTEC","F40","ZAR","TRY","SEK","NOK","DKK"};
double pipFactors[] = { 100, 100, 100, 100, 100, 10, 10, 10, 10, 1, 1, 1, 1, 1, 1, 1000, 1000, 1000, 1000, 1000};
double factor;//For pips/points stuff. Set up in int init()
My question is regarding the proper way to set the values the comment says "Coders, you need to briefly turn of Wrap and turn on a mono-spaced font to view this properly and see how easy it is to make changes."
How do I turn the wrapper off and change the font?
Thank you all in advance for your help and sharing this exceptional EA. Looking forward to share my "success" back to the community.