Was wondering if it should be
Code: Select all
if (CloseEnough(DailyStochMain, 0))
if(CloseEnough(HT2StochMain, 100))
Code: Select all
if (DailyStochMain == 0)
if(HT2StochMain == 100)
Cheers
Code: Select all
if (CloseEnough(DailyStochMain, 0))
if(CloseEnough(HT2StochMain, 100))
Code: Select all
if (DailyStochMain == 0)
if(HT2StochMain == 100)
I see - misunderstood. Yes it should, and needs correcting. Bloody crapqlx.SpiderX » Thu May 15, 2014 2:01 pm wrote:
Was wondering if it should be
instead ofCode: Select all
if (CloseEnough(DailyStochMain, 0)) if(CloseEnough(HT2StochMain, 100))
Dont think it should be a big deal though.Code: Select all
if (DailyStochMain == 0) if(HT2StochMain == 100)
Cheers
Invaluable? I was expecting pain in the arse nuisance but I'll take invaluable.SteveHopwood » Thu May 15, 2014 1:05 pm wrote: Thanks zader; you have been invaluable.
*stares dreamily off into the middle distance* Ahhhhhh, the ZX Spectrum............zader » Thu May 15, 2014 4:28 pm wrote:Invaluable? I was expecting pain in the arse nuisance but I'll take invaluable.SteveHopwood » Thu May 15, 2014 1:05 pm wrote: Thanks zader; you have been invaluable.
I'll shut up now with my Spectrum basic programming skills and let SpiderX check the code.
(yes Spectrum basic! google it kids)
I wouldn't; let's check them first. They appear to be working ok on my demo.Are these good enough to use on live account now??
The EA's decide there is a trade to be taken, then go into a loop that examines the Sto7 for a retreat into an untradable area for however long you chose the waiting time to be. If Sto7 retreats at any point, the trade is cancelled. If not, the ea proceeds to attempt to take the trade on exit from the loop.kwchau » Fri May 16, 2014 11:49 am wrote:Here are my test results so far on H1 charts:
For the buy or sell twice trend EAs, there is no waiting time to execute an entry, everything seems fine.
For the single entry trend EAs, the entry still has problem but I think I have figured it out . I used the default waiting time of 2 minutes before taking a trade. If the waiting time finished on the same bar, the trade would be entered correctly. If the waiting time was beyond the current bar, i.e., a new bar formed before the 2 minutes waiting time was up, the EA reset everything at the new bar opening. For example, if price broke stoch 10 one minute before bar close, when the new bar started, everything will be reset. Since at that time, the price has already passed Stoch 10, the EA would wait until price broke the Stoch 30 threshold.
I do not trade counter trend trade, so I haven't tested them but I believe the logic would be the same.