| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| libCSS - .lmx Suffix Removal Code https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3650 |
Page 1 of 2 |
| Author: | theforexedge [ Thu May 29, 2014 10:50 am ] |
| Post subject: | libCSS - .lmx Suffix Removal Code |
I'm just in the process of switching my trading platform to LMAX and I'm struggling to work out how to remove their .lmx suffix to get CSS to only weigh the symbol on the chart rather than compare all currencies... Here's the code that works fine standard Empty4 platforms, but I can't figure out why its not removing the .lmx Any help would be much appreciate, as i've scoured the internet and can't find a simple solution Thanks, Jason Code: Select all |
|
| Author: | milanese [ Thu May 29, 2014 11:25 am ] |
| Post subject: | libCSS - .lmx Suffix Removal Code |
Please do not repeat your postings in different topics...., it is enough to do your request in one topic! Cheers Tommaso |
|
| Author: | theforexedge [ Thu May 29, 2014 11:30 am ] |
| Post subject: | libCSS - .lmx Suffix Removal Code |
Tommaso Sorry and noted for future postings.. I just wasn't sure where was best to post as I know Paul doesn't frequent the forum that often, so i thought Coders Hangout was probably better, as I'm sure this problem occurs quite often, but as hard as i've tried I just can't figure how to remove the .lmx suffix. Jason |
|
| Author: | milanese [ Thu May 29, 2014 11:55 am ] |
| Post subject: | libCSS - .lmx Suffix Removal Code |
it should work if you set extern bool weighOnlySymbolOnChart = true andextern bool showOnlySymbolOnChart = trueand change your int initSymbols() with this one.. Code: Select all Cheers Tommaso |
|
| Author: | theforexedge [ Thu May 29, 2014 1:18 pm ] |
| Post subject: | libCSS - .lmx Suffix Removal Code |
Tommaso Thanks for the code which i've tried to cut and paste into the EA (see attached) I've tried on both the LMAX & FTT Empty4 installs and it's not working now on either, so not sure what i've done My coding is quite limited but i'm learning bit by bit, so please excuse any glaring errors in my efforts to add CSS to Steve's 10.7 trade helper.. Just wondering if the problem could be coming from the SplitSymbol(); call line 1218 Anyway hope you can fix it... Jason |
|
| Author: | milanese [ Thu May 29, 2014 2:52 pm ] |
| Post subject: | libCSS - .lmx Suffix Removal Code |
Try the attached one.. Cheers Tommaso |
|
| Author: | theforexedge [ Thu May 29, 2014 4:07 pm ] |
| Post subject: | libCSS - .lmx Suffix Removal Code |
Tommaso Thanks you for taking the time to look at the code... It works OK but its now weighing all the currency symbols and not just the symbol on the chart.. I guess when its reading the string with all the currency pairs its not including the .lmx suffix, so works OK.. Just now need to figure out how to just show WeighOnlySymbolsOnChart Jason |
|
| Author: | milanese [ Thu May 29, 2014 4:16 pm ] |
| Post subject: | libCSS - .lmx Suffix Removal Code |
this would be a TMA slope if you only weight the symbol on the chart.. Cheers Tommaso |
|
| Author: | theforexedge [ Thu May 29, 2014 4:24 pm ] |
| Post subject: | libCSS - .lmx Suffix Removal Code |
Tommaso Ah yes its a TMA Slope, but yes that's what I want to use to see if the currencies and trending or in reversal. I always just think of it as CSS Jason |
|
| Author: | theforexedge [ Fri May 30, 2014 9:23 am ] |
| Post subject: | libCSS - .lmx Suffix Removal Code |
Tommaso Do you mean that there is an easier way of doing this? I guess as my coding skills are quite limited and I used to use the CSS code from Steve's shell i've just cut and pasted the libCSS.. I was using the CSS weighing all the currency pairs, but I found that there are two conditions I wanted to make sure are happening: 1. There is s currency cross 2. Top or bottom reversal and I found just weighing the symbols on the charts worked.. Anyway thinks for all your help.. Jason |
|
| All times are UTC | Page 1 of 2 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|