| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Holy Graily GTWV https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5274 |
Page 1 of 1 |
| Author: | RisklessPips [ Sun Sep 10, 2017 11:56 am ] |
| Post subject: | Holy Graily GTWV |
Possible Holy Graily GTWV ? Context I am currently manually switching setfiles for GTWV EA based on changing market conditions as and when I manually recognise the changes. HGI is a superstar in recognising those changes so would it be possible to integrate HGI Signals into GTWV processing as follows. GTWV to take HGI signals, apply an alternative set of predefined variables and carry on processing thereby releasing the user from manual setfile changes? Specification Return HGI Signals at set intervals If Last HGI signal is a big (Trend) arrow Apply the user defined BE/Trails under trend processing for existing trades Apply the user defined SL/TP/BE/Trails under trend processing for new trades the EA may open If last HGI signal is a RAD arrow As above but use the settings saved under RAD processing If last HGI signal is a RANGE arrow As above but use the settings saved under RANGE processing In all other cases use the settings saved under Standard processing A Boolean to switch this processing off and just use standard settings. End of specification Explanation of logic above. Trend arrows in HGI represent my momementum setfile RAD Arrows represent a combination of my standard and momentum setfiles RANGE Arrows represent my choppy setfiles This code amendment would take HGI Signals and apply predetermined BE/SL/TP and trails to suit different price conditions automatically. Thanks Charles |
|
| Author: | TraderJoeForex [ Sun Sep 10, 2017 1:04 pm ] |
| Post subject: | Holy Graily GTWV |
This is getting very interesting... |
|
| Author: | RisklessPips [ Tue Sep 12, 2017 11:01 am ] |
| Post subject: | Holy Graily GTWV |
Holy Graily GTWV - development code I've started making changes to GTWV to include HGI signals as indicators of changing market conditions. I am not a coder of much worth 1) I have added the extern variables required to process Trending, RAD and Range signals. The old variables are still in place as a default. 2) The new Extern variables relate to BE / SL / TP and Trails. (All the other processing is standard regardless of market conditions.) 3) I have added a boolean to check if HGI Signal processing is required by the trader. 4) In each of the functions for processing BE / SL / TP and Trails I have added a check to see if HGI signals processing is switched on. a) if not - the current processing is allowed to continue b) if HGI signals are required - the current variable values will be replaced by appropriate ones that relate to the most recent HGI signal and settings for that signal as saved by the user Help required to move forward a) How do I incorporate calls to hgi_lib so that these are made at periodic intervals for all traded symbols returning the most recent signal for each symbol. (As soon as a signal is found current candle going backwards that is what I want to use) b) Once the symbols latest signal is identified, this is then required to trigger the use of the values saved for that signal in the processing functions above. I attach the code I am changing for reference purposes. Thanks Charles |
|
| Author: | RisklessPips [ Wed Sep 20, 2017 2:32 pm ] |
| Post subject: | Holy Graily GTWV |
I am using the code below to open new seeds at TP and SL in GTWV. This code works perfectly - except not 100% of the time (on the spot I'd say it opens a new trade 80% of the time because it fails one or other of the conditionals !) The problem lies in the conditional statements that I am using to identify a closed trade and whether or not it is TP or SL and also in the time comparison conditional to ensure the trade has just been closed. This code is in the OnTimer event Can someone please help me to tighten this up so that it opens a new trade on SL or TP closer to 100% of the time ? Code: Select all Charles |
|
| All times are UTC | Page 1 of 1 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|