| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Awesome - original version https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5232 |
Page 29 of 46 |
| Author: | SteveHopwood [ Sun Sep 10, 2017 2:50 pm ] |
| Post subject: | Awesome - original version |
V 1i is in post 1. I replaced a couple of my more ridiculous indexes with multi-field arrays - something only the coders will see. More to the point for you guys is the code that Thomas sent me today to tidy up the chart display. Those annoying gaps and places where text is overwritten are all gone. Brilliant. You can add the code to any existing EA created from my shells since lifesys sent me the original code. Go to void Display(string text) and copy this over the top of the existing function: Code: Select all extern double spacingtweek = 0.6; // adjustment to reform lines for different font size as it is no longer used. Ditto the function string FormatNumber(double x, int width, int precision). You will find you can have text as large as you can reasonably want it without distorting the display. Thanks Thomas. You have done as all a huge favour. |
|
| Author: | TraderJoeForex [ Sun Sep 10, 2017 3:02 pm ] |
| Post subject: | Awesome - original version |
Thanks Steve and Thomas |
|
| Author: | SteveHopwood [ Sun Sep 10, 2017 5:53 pm ] |
| Post subject: | Awesome - original version |
Here is another PM I just received from Thomas: I have not made the extra changes to Awesome, so copy the code here over the existing function if you want the latest improvements. Thanks Thomas. |
|
| Author: | DigitalCrypto [ Sun Sep 10, 2017 9:00 pm ] |
| Post subject: | Awesome - original version |
Brilliant gentlemen. Huge Thank you! |
|
| Author: | DigitalCrypto [ Mon Sep 11, 2017 12:02 am ] |
| Post subject: | Awesome - original version |
Hey Steve, I would like to add "Todays P&L" to the left of "Daily Profit Target" on the screen display. I see around line 1577 of CountOpenTrades() the "EntirePositionCashUpl" var. Would this be the similar in function to your shell's "OverallProfit" variable? Thanks, David EDIT: This is the change I made Code: Select all |
|
| Author: | SteveHopwood [ Mon Sep 11, 2017 10:47 am ] |
| Post subject: | Awesome - original version |
No, it isn't but this is a good idea so I have added it to V 1j in post 1 - also Thomas' improvement to his improvements to the chart display code. Yours called for a new variable, so do a search for "ProfitToday" to follow the code I added. |
|
| Author: | DigitalCrypto [ Mon Sep 11, 2017 11:33 am ] |
| Post subject: | Awesome - original version |
Many thanks Steve, I was a bit lost on how to go about that. I did have to make a small change in 1j in the DisplayUserFeedback to get the text variable to append. Code: Select all Code: Select all |
|
| Author: | SteveHopwood [ Mon Sep 11, 2017 11:44 am ] |
| Post subject: | Awesome - original version |
I forgot to add that bit. I have added it to 1j in post 1. |
|
| Author: | SteveHopwood [ Mon Sep 11, 2017 12:47 pm ] |
| Post subject: | Awesome - original version |
V 1k is in post 1, courtesy of Thomas again. Just look at what he has done with the chart display: Brilliant Thomas. Absolutely brilliant. |
|
| Author: | DigitalCrypto [ Mon Sep 11, 2017 5:48 pm ] |
| Post subject: | Awesome - original version |
Damn fine job there Steve and Tomele Now that you've gone and made a display that "purty" it begs for a feature request for even better. I don't suppose you could make the symbol name clickable to open that particular chart could you? I recall seeing "Dashboard Trading" thread on that other site that had some source code you could probably get some ideas from. |
|
| All times are UTC | Page 29 of 46 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|