- Search Forex Factory
- 164 Results (1 Thread , 163 Replies )
- Bruce Flea replied Nov 17, 2013
Price moves AFTER a transaction, not before. Therefore, price lags. Not by much, but it's behind.
- Bruce Flea replied Feb 24, 2013
I hereby nominate you for Sainthood. Works like a charm. Wasn't my code, it was my misunderstanding of placement of such. Much obliged sir! Here's some cyberbeer! I spared NO expense image
- Bruce Flea replied Feb 24, 2013
Much like your first example. And my CloseAll() is almost verbatim your code //+------------------------------------------------------------------+ //| expert start function | //+------------------------------------------------------------------+ ...
- Bruce Flea replied Feb 23, 2013
They update there. Hmmmmm.... Now, to find why it's not closing trades based on the same info.
- Bruce Flea replied Feb 23, 2013
Nossir. But that was something that crossed my mind early on. It isn't the case though. Thanks!
- Bruce Flea replied Feb 23, 2013
That's what one would think. And was the reason for putting the comments in. When I didn't see a tick by tick reflection of profit fluctuating, I figured something was wrong with either my code, or that possibly account information isn't subjected ...
- Bruce Flea replied Feb 23, 2013
Now THAT is a helpful revelation... LOL Thanks a ton! Much appreciated.
- Bruce Flea replied Feb 23, 2013
Congrats to the smart guys for counting profits I just look at my ever growing balance, and let it count for me I didn't have them at all when I originally wrote the function up, but added them when the function didn't work properly to trouble ...
- AccountProfit() Issues
I have been attempting to write an easy function that closes a basket of trades at a variable ...
- Bruce Flea replied Oct 3, 2012
I see where you're headed now. And I have a slightly different version of the 10.2 TMA, which leads to the difference in parameters, but it looks like you've got it going on now. I also looked the the TMA True indi. I still think the repainting ...
- Bruce Flea replied Oct 3, 2012
Just looking at this, the only difference is the shift of one bar. The current open bar, and the last closed bar. Is that what you were after? Because that will give you some troubles. Var1 is a moving target.
- Bruce Flea replied Oct 3, 2012
I played with the TMA Slope using iCustom in an EA a while back. I don't like the repainting factor, but I did get it to work. This is the code I used: double SlopeUp = iCustom(NULL,0,"Slope Indi",20,0.4,-0.4,100,1,1); double SlopeDn = ...
- Bruce Flea replied Oct 1, 2012
In the DayOfWeek() function, the days are listed as digits, with 0 being Sunday, 1 being Monday, 2 being Tuesday, and so on. The code I posted would ignore Friday, and Sunday. If you want to ignore Sunday only, take off the ||DayOfWeek()==5, and ...
- Bruce Flea replied Oct 1, 2012
if(DayOfWeek()==0||DayOfWeek()==5) return(0);
- Bruce Flea replied Sep 28, 2012
Computer > C: NOT Computer > C: > Programs
- Bruce Flea replied Sep 28, 2012
You asked for it to give you alerts on the 15 minute chart. It now does that. I didn't write the rest of the indicator. Can't help you there, and most likely wouldn't.
- Bruce Flea replied Sep 27, 2012
Try this:
- Bruce Flea replied Sep 25, 2012
Yup, you're spot on. I didn't look that close LOL But I did see the redundancy in the delete, which prompted my premature post. Thanks for pointing that out!
- Bruce Flea replied Sep 25, 2012
The code that deletes the line is most likely not in anything you posted. Look for something like: if (ObjectFind("Line") > -1) { ObjectDelete("Line"); } But it's hard to say from the smidgen of code you showed us.
- Bruce Flea replied Sep 24, 2012
Then as hayseed said, you need an EA, not a script. Different animals altogether