- Search Energy EXCH
- disbellj replied Jun 9, 2010
Robert, Let's say you wanted to use mine, just as an alternative, then here's an updated BuysVsSells, which allows user to show all lines, or each line individually, and if only BuyAll line is shown, the user has a choice to use the 2 MA's in the ...
Indicators development for T101's not very simple method
- disbellj replied Jun 9, 2010
Kos, Just take note of Samir's indicator and how I talked about the wrong bar being used problem. My indicator and EA are correct (especially EA I made sure). Just like real IA trades were put on at beginning of week, or beginning of day, the right ...
Indicators development for T101's not very simple method
- disbellj replied Jun 9, 2010
Mathers, If you don't know what you're doing, please ask first I guess, rather than do what you did. Kos_TrendMagic_EAPrep_indi_Don_v1.3.mq4 is an indicator I made, and as it says in it's name, is (was) a Prep for the EA. It is not Trend Magic.ex4 ...
Indicators development for T101's not very simple method
- disbellj replied Jun 8, 2010
Thank you. Robert, I guess I'm confused. Would the first order be 0? or the most recent order always be 0? Didn't you say you were using i-- instead of i++ since trade 0 would be closed and then trade 1 would become 0, would be skipped, and then ...
Indicators development for T101's not very simple method
- disbellj replied Jun 8, 2010
azjeff, Have you seen it repaint on M15, H1, or H4? If not, then TrendMagic can be used for this EA. Robert, if you do intend on adding it, I made indicators before I made the EA, and on the last version of the indicator (pre-EA): url ... you can ...
Indicators development for T101's not very simple method
- disbellj replied Jun 8, 2010
zznbrm, Is it that it should be: for (int i = OpenOrders - 1; i >= 0; i--) // add an equal sign to > ? ...or is it that Robert looks to have maybe mistakenly commented out: // OpenOrders = OpenOrders - 1; ... twice when it's being used? Note: This ...
Indicators development for T101's not very simple method
- disbellj replied Jun 8, 2010
charvo, Having "usetftoconfirmtrend" as user input really helps when trying to test sometimes, huh? I figured it might come in handy, that's why I made it a user input where most other things (other 3 conditions for entry) are hard-coded. BTW, I ...
Indicators development for T101's not very simple method
- disbellj replied Jun 8, 2010
MrPip. (Robert), Thank you so much for getting involved again.
Not only the processing being faster (which I didn't know about), but if I'm not mistaken, orders need to be closed in the order they were opened, correct (because of new rules)? When ...Indicators development for T101's not very simple method
- disbellj replied Jun 8, 2010
Aristarchus, OK, the EA did a BuyAll on IBFX. Got stopped out by profit-lock at $5 (50 pips). Then the EA opened another BuyAll (good sign
) But then the EA closed those trades right away, supposedly by profit-locking too. (although locked profit ...Indicators development for T101's not very simple method
- disbellj replied Jun 8, 2010
Aristarchus, since charvo said we needed to use magicnumber for TotalOrders, since the same code OrdersTotal() is in CloseAll(), wouldn't it need changed to use magicnumber also, so not using OrdersTotal()? Edit: I see what you've done. It makes ...
Indicators development for T101's not very simple method
- disbellj replied Jun 8, 2010
Aristarchus, I admittedly didn't even use custom functions before I came up with MarginRequirement, which led me to use custom function for the first time (and when I say custom function, I'm talking about one that is outside of start). There has ...
Indicators development for T101's not very simple method
- disbellj replied Jun 8, 2010
Aristarchus, This may be the whole problem, or just part of it. If you know how to fix it, please do fix it and upload a new version of EA for testing. I know I have a while statement first in the StrategyEntryRules() (so I check if trade is in ...
Indicators development for T101's not very simple method
- disbellj replied Jun 8, 2010
Thank you everyone for the replies. 1. I do know that when the CloseAll() is run in a script, I can never delete it from the chart without switching timeframes and then it will remove. So culprit could be in this area. 2. I am looking at the code, ...
Indicators development for T101's not very simple method
- disbellj replied Jun 8, 2010
Kos, Sorry for littering the thread with so many versions, but things get fixed in steps. I've done about all I can do, and need help myself to finish it looks like. But if this EA were to get fixed, it would really benefit us all, and I'm pretty ...
Indicators development for T101's not very simple method
- disbellj replied Jun 8, 2010
Is there ANYBODY out there that knows how to code? I obviously need help. It seems I can get 95% of the way there, but haven't been able to tackle the other 5%. I will go and look at the code everyone, but I can't see why things aren't resetting. I ...
Indicators development for T101's not very simple method
- disbellj replied Jun 7, 2010
Weekly trend: If put on actual IA trades at start of broker's week, what would Buys (sum_blue) and Sells (sum_red) be? Daily trend: If put on actual IA trades at start of broker's day, what would Buys (sum_blue) and Sells (sum_red) be? Whichever one ...
Indicators development for T101's not very simple method
- disbellj replied Jun 7, 2010
sparktrade, As soon as a trade closes, on next tick, EA should see no trades are open, and reset profit-locking variables. Conditions and alerts for entry are reset on trades' exit. Alerts for exit are reset on trades' entry. So looking at the ...
Indicators development for T101's not very simple method
- disbellj replied Jun 7, 2010
trade4fun, First, thank you. Second, it's not taking trades first because you're still using the old EA version. See the name of the EA in top-right of picture? At this point, the latest revision is 06-07-10_2. PLEASE use the latest version. I will ...
Indicators development for T101's not very simple method
- disbellj replied Jun 7, 2010
spark, Let me look at the EA again. It should have today's date. I hope I didn't "update" an older one. Edit: Look back two posts and get the EA from there. I did upload the wrong EA. What is Kos' 4th condition? On M15 and H1, check Daily trend for ...
Indicators development for T101's not very simple method
- disbellj replied Jun 7, 2010
This EA checks trade types each tick, and also before doing a BuyAll or SellAll (to close trades if they are not the same type). To figure trade type, I check if there are more buys than sells or vice versa. A BuyAll would have more Buys than Sells ...
Indicators development for T101's not very simple method