I agree. Dietmar, I think your alteration is not good.garyfritz wrote:That doesn't look right to me, Dietmar. The "bool" statements were supposed to initialize the values to False, and then the "if" statements set them to True if the conditions were right. It looks to me like it will ALWAYS return true now.
The ea uses chart time for starting the grid and uses your local time to see if its ok to be running.
Well thats what I read in the instructions or within the ea itself maybe.
Loaded up ea yesterday at 2:10 gmt/ chart time. Altered grid start to 02:15 cause I wanted to see it triggered and the asia session had been flat till then. 02:15 oh look at that 6 pending trades placed. Nice but they are .01 .02 .03 lots. mmmm
Checked settings - ok well now I see the usemultiplier & its at 1.5 - Well I will just run with that this time while I think that thru a bit.
All 3 buys eventually triggered & finally closed at 144 pip profit. All pending trades closed, including those sell-stops added at each buy trade opening.
Not bad, but for quite a while it looked as if the basket/grid would not have closed if it had been applied around the 7 or 8am gmt area.
Noticed the 3 sell-stop trades applied when the 3rd buy trade triggered had 4 or 5 pip higher settings for everything including SL. So heaps of extra red lines on the chart.
Not sure at all about the value of increasing lot size for the 2nd & 3rd trades. Makes it an all or nothing play until TP hit.
Now wondering if I can amend this ea to do the Graeme millipede type of baskets.
Play time.
cheers scalpz