You're right Trader101,
I just patched the problem spots. Hopefully this EA is good enough for testing. Thanks for the help!
I just patched the problem spots. Hopefully this EA is good enough for testing. Thanks for the help!
Attached File(s)
Gambler's Pips EA needs debugging 29 replies
Gambler trading (with some MM), who says it can't be done? 233 replies
Trader or Gambler? 100 replies
Gambler is back. Better than ever 3 replies
Gambler or Speculator? 32 replies
DislikedAny guidelines I should know about when programming functions?Ignored
DislikedHi there Gambler!
i've tried to intrepret your funtastic system, the attached code is not an EA yet, but it will plot some arrow to the chart acknowledging the user about when to buy, and when to sell
Please take a look, please tell me if there is something need to be fix, and if it's not goes well with the "RULES"
Regards,Ignored
DislikedGambler, I'm not sure if i read the rules correctly... but what happens if the signal bar close in between the highest recorded opening price for an up bar AND the lowest recorded opening price for a down bar... should you buy or sell? or discard this signal altogether?Ignored
DislikedI can't use inside bars for anything so that's not a signal. I think this system needs a lot of optimization to make it profitable in the long run. It is easy to trade it manually and earn a lot of pips but it gets very complicated when an EA should do the same.Ignored
DislikedHi Gambler,
How is the EAs tested so far?
Profitable?
using array is interesting for EA.
If i got time, I will try my coding style.
Seems like interesting if put into coding idea.
But how is the performance of the done EA of Ronalds and others?Ignored
Disliked5. If the EA is in profit when the bar is finished the position should be closed.
6. If the EA has bought and a bar close below the opening prize of the bar where the EA bought the position should be closed.
7. If the EA has sold and a bar closes above the opening prize of the bar where the EA bought the EA should close the position.
8. If the EA should be traded on a small timeframe it is probably a good idea to have a time setting.Ignored
DislikedGambler180,
correct me if I'm wrong, doesn't 5, 6 and 7 simply means close the position when the bar is finished? regardless whether its a win or a lose.Ignored
DislikedTo close for a loss the bar has to close below the opening price of the bar where i bought or above the opening price of the bar where I sold.Ignored
Dislikedso essentially this system trades only 1 bar, yes?
5. If the EA is in profit when the bar is finished the position should be closed.
The bar where you open the position closed in profit, close the position. This means "Close the position when the bar finish".
6. If the EA has bought and a bar close below the opening prize of the bar where the EA bought the position should be closed.
The bar where you BUY the position close LOWER, close the position. This means "Close the position when the bar finish".
7. If the EA has sold and a bar closes above the opening prize of the bar where the EA bought the EA should close the position.
The bar where you SELL the position close HIGHER, close the position. This means "Close the position when the bar finish".
Which means all 3 points are essentially the same. Close the position when that bar you bought at has finished. if close in profit, smile, if close in loss, suck it up.
Am I reading this right?Ignored
DislikedI think the questions of Zen are valid...Its the way i understand too. Its a 1 bar trading system. The question is why elaborate the 5, 6 & 7 when they mean the same thing?? Unless we understand it wrongly, that is why you have to clarify it. Reason being, the optimized EA that you are asking for will never be done if you yourself is pissed by the Zen's questions.Ignored
DislikedSyanwar,
Once I understand how I can get that specifc bit of logic in code, I can pull the rest of the EA together in about 20 mins. You've probably noticed already that in all my EAs, about 90% of the code is exactly the same.
The past 5 bar highest/lowest part is where I'm stuck.
How can I reliably:
- Identify which of the 5 bars are up/down
- Determine of the up/down bars which are highest and lowest.
Ignored
DislikedAre you serious bro? And you are a programmer? Seems like everyone and his cat is a programmer in the computer era...Ignored