stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

ShelleyJem. Fantastic collision of accident and analysis
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=610
Page 15 of 20
Author:  RockyJ [ Mon Jun 11, 2012 2:43 pm ]
Post subject:  Re: ShelleyJem. Fantastic collision of accident and analysis

I had the exact same issue, same pair. I deleted the pair for the time being from the ea just to stop it..

EURNZD stuck in a loop opening and closing and repeating over and over..
Author:  feucht [ Mon Jun 11, 2012 2:49 pm ]
Post subject:  Re: ShelleyJem. Fantastic collision of accident and analysis

EURNZD closed in profit again, and then back into the loop, so the overlapping session times was a red herring. Perhaps changing a setting reinits something?
Author:  NeoTrader [ Mon Jun 11, 2012 3:04 pm ]
Post subject:  Re: ShelleyJem. Fantastic collision of accident and analysis

Hi steve,
SteveHopwood wrote:It isn't that simple guys. Fact is, if the trading conditions are still in place when the basket closes for any reasons, then the trading conditions are still in place.
The challenge is to tell SJ to trade when the trading conditions are in place but we do not want it to trade. You can state that any condition must have been reset, but if that condition is met within the timescale SJ is looking back over, then the trading condition is in place.
Any ideas that can be coded into the bot?
How about a timestamp as flag. When the basket is closed set a flag with the current time.
you can use a external parameter where the user can set the time distance between new trades or set a fix time value.
If timestamp + user setting > current time no trading

just a thought.

happy pips.
Author:  SteveHopwood [ Mon Jun 11, 2012 6:17 pm ]
Post subject:  Re: ShelleyJem. Fantastic collision of accident and analysis

Ok, I am fast approaching the stage where I no longer know what my name is.

V 1h is attached. This is an attempt to use Global Variables to keep a record of when a trade was sent, compare this with the open time of the candle that generates a tma true cross/touch, and disallow the trade if there has been no reset. I don't know whether it is working.

Use the ShelleyJem GV replacement script to create Global Variables out of existing open trades, to simulate what SJ would have done had she contained the code in the first place. Re-drag the ea onto your chart and you should see an extra field in the display - "LTT", for 'Last Trade Time'.

I have attached all this here for the coders to have a look:
  • - added an extra field to TradePair. Field 6 holds the time of the most recent trade.
    - when she sends a trade, SJ sets up a Global Variable that holds the time the trade was sent.
    - on start-up, SJ reads all the globals and stores their values in TradePair[x][6] as a string. Find the code in int init() and look for the comment //Read the time of a pair's most recent trade
    - ReadTable() extracts the value of the global and stores it as a double in LastTradeTime. This is passed to bool TmaTrueFilter(string symbol, int tf, int type, int LookBackBars, datetime LastTradeTime) (notice this function has an extra parameter).
    - TmaTrueFilter should return(false) if either there has been no touch/break of an outer line or the most recent trade is younger than the touch/break.
I am starting to gibber here, guys, and am not starting to think of hitting the bottle. I am starting to think of hitting myself with the bottle. I have looked at an H4 chart with the multi-tf tma true display and cannot even see why the damn ENzd trade was taken at all, let alone why some of you are experiencing the rapid open/close thingy. That is for another time; right now I couldn't care less.

So, coders please have a gander and see if you can see anything wrong. If you do, please post a fix that I can copy/paste over the top of the offending bloop. What precious little of what passes for my sanity on a good day, is hanging in the balance here.

:D
Author:  SWG123 [ Mon Jun 11, 2012 8:17 pm ]
Post subject:  Re: ShelleyJem. Fantastic collision of accident and analysis

SteveHopwood wrote:I am starting to gibber here, guys, and am not starting to think of hitting the bottle. I am starting to think of hitting myself with the bottle. :D
Practical tip: by all means hit yourself with the bottle, but empty it first :D
Author:  SteveHopwood [ Mon Jun 11, 2012 9:09 pm ]
Post subject:  Re: ShelleyJem. Fantastic collision of accident and analysis

SWG123 wrote:
SteveHopwood wrote:I am starting to gibber here, guys, and am not starting to think of hitting the bottle. I am starting to think of hitting myself with the bottle. :D
Practical tip: by all means hit yourself with the bottle, but empty it first :D
doneSh thAsat.

dunt mek eny diferenz. mi shpeling iz evedinz.

ough

hic


:D or suumat zimlar
Author:  Lifesys [ Tue Jun 12, 2012 12:45 am ]
Post subject:  Re: ShelleyJem. Fantastic collision of accident and analysis

Sorry, but I do not understand the mentality of trading this way at all at the moment. Steve, I think the best solution is to leave ExpertAdvisors button off for now and retain your sanity. CurrencySlopeStrength(4H) are all within +-0.3 and have been within my levels at +-0.6 for days. Doesn't this confirm that "This is not a set-and-forget ea. There is no such thing and anyone who tells you there is, is either a liar or an idiot. This EA will need manual intervention." P1.
We put 23% on an account with Shelley week before last, have not even turned it on last week or this, as converging lines on CurrencySlopeStrength clearly tell us to stay out. Losing an account this week is one's own fault in my view. CurrencySlopeStrength is the best indicator of 'when to/not to trade' I have ever seen & Shelley, amazing in season - wait until lines diverge. You may not agree but I think I am a long way ahead at this point.
Steve does an amazing job but we can push too far - Ecclesiastes 3 "to everything there is a season". Driving a basket EA to trade now is like people here driving cars through flood waters - you'll get swept away.
Author:  Jemook [ Tue Jun 12, 2012 2:58 am ]
Post subject:  Re: ShelleyJem. Fantastic collision of accident and analysis

In reply to Lifesys–

You get it however I'm going to be shorting the shit out of xUSD xJPY pairs as soon as I get a nice H4 retracement and 5.1 MA hit. I think it should be good to trade when this setup comes along even if Shelley isn't reporting any strong trends yet.

There's so many ways to trade right now using 10.2 and they are all great. In regards to Shelley/baskets I do agree its best to wait for strong trends but launching baskets in the direction of the trend (after a retracement has taken place) should still work fine IMO.
Author:  fxshadow [ Tue Jun 12, 2012 11:28 am ]
Post subject:  Re: ShelleyJem. Fantastic collision of accident and analysis

Lifesys wrote:Sorry, but I do not understand the mentality of trading this way at all at the moment. Steve, I think the best solution is to leave ExpertAdvisors button off for now and retain your sanity. CurrencySlopeStrength(4H) are all within +-0.3 and have been within my levels at +-0.6 for days. Doesn't this confirm that "This is not a set-and-forget ea. There is no such thing and anyone who tells you there is, is either a liar or an idiot. This EA will need manual intervention." P1.
We put 23% on an account with Shelley week before last, have not even turned it on last week or this, as converging lines on CurrencySlopeStrength clearly tell us to stay out. Losing an account this week is one's own fault in my view. CurrencySlopeStrength is the best indicator of 'when to/not to trade' I have ever seen & Shelley, amazing in season - wait until lines diverge. You may not agree but I think I am a long way ahead at this point.
Steve does an amazing job but we can push too far - Ecclesiastes 3 "to everything there is a season". Driving a basket EA to trade now is like people here driving cars through flood waters - you'll get swept away.
My recent baskets have been only one pair deep. In a way, SJ seems to know that this is not the best time to trade.
Author:  spotdespot [ Tue Jun 12, 2012 1:25 pm ]
Post subject:  Re: ShelleyJem. Fantastic collision of accident and analysis

RockyJ wrote:I had the exact same issue, same pair. I deleted the pair for the time being from the ea just to stop it..

EURNZD stuck in a loop opening and closing and repeating over and over..
I don't think it's pair specific as I just had it with GBPNZD.
All times are UTC Page 15 of 20