We may even be getting closer to V 213995K you mentioned in an earlier post Steve?
Cheers
Hi,SteveHopwood » Sun Mar 13, 2016 6:39 pm wrote:V 2k is in post 1.
[*]AddStopOrdersToLimitGrid: there will come a point where the uptrend will end. The market will fall, filling all those limit orders leaving market buys in a selling market. This tells HGBnG to adopt Pat's idea of adding a grid of sell stops below the buy limit grid. This will add more sell trades to the basket as the markets fall, eventually allowing the position to close at breakeven and banking all the pips made whilst the market rose.[/list] [/list]
Hi Bruce,Bruster400 » 14 Mar 2016, 14:48 wrote: So my question is how are these grids released? Do they retain their sl's or does the ea use semaphore to close one set at the appropriate time. Just trying to understand the recovery in this situation, whether these new grids are handled differently or whether I need to watch for this manually.
Thanks
Bruce
Hi Kevin,
Code: Select all
if (TimeCurrent() >= NextReadTime)
{
TrendArrowStatus = Trendnoarrow;
WaveStatus = Wavenone;
RadArrowStatus = Radnoarrow;
HgiSignalStatus = hginosignal;
NextReadTime = TimeCurrent() + HgiReadDelaySeconds;Code: Select all
static datetime OldBarHgiReadTime = 0;
static bool IsNewHgiBar = false;
//Forces the EA to read HGI at the opening of a new candle even if HgiReadDelaySeconds haven't expired
if (OldBarHgiReadTime != iTime(Symbol(), TradingTimeFrame, 0) )
{
OldBarHgiReadTime = iTime(Symbol(), TradingTimeFrame, 0);
IsNewHgiBar = true;
} else
IsNewHgiBar = false;
if (TimeCurrent() >= NextReadTime || IsNewHgiBar)
{
TrendArrowStatus = Trendnoarrow;
WaveStatus = Wavenone;
RadArrowStatus = Radnoarrow;
HgiSignalStatus = hginosignal;
NextReadTime = TimeCurrent() + HgiReadDelaySeconds;Please do that. We look forward to your conclusions.krzysiekqq2 » Mon Mar 14, 2016 10:19 pm wrote:Thanks Steve and Kevin for latest update.
Just loud thought on Kevin idea to trade stop and limit pending orders on Semaphor signal.
Imagine situation like below in pic 1:
ADX is above 20 and we can consider market is Trending. Then, we should send Buy/Sell Limit orders with high probability on Semaphor signal, trend will continue. Also, we can consider opposite orders and add more orders to continue trend.
Imagine situation like below in pic 2:
ADX is below 20 and we can consider market is Randing. Thus, for signal at Seaphor we send Sell and Buy Stop orders as it is likely we have reverse.
I will practice this manually with options Steve just created in Semaphor Section and compare to first MK2 version with Stop Orders only on real account and report in 4 weeks.
What you thing about such approach?
Cheers,
Krzysztof