That doesn’t look like a complete function. Don’t know why one would need to put it anywhere as is.
Hi MT,
What im trying to do is a custom function (My_Function)() to get price to trigger trade, via Bid.
lm currently testing a breakout system, so, although id like to have limits set by the Expert at certain points, i just dont know how to do that…
SO, Im trying to use the breakout perimiters and then have EA trigger as the price moves past them…
//--------------------------------------------------------------------
int Count=0; // Global variable
//--------------------------------------------------------------------
int init() // Special funct. init()
{
Alert (“Function init() triggered at start”);// Alert
return; // Exit init()
}
//--------------------------------------------------------------------
int start() // Special funct. start()
{
double Price = Bid; // Local variable
My_Function(); // Custom funct. call
Alert("New tick “,Count,” Price = ",Price);// Alert
return; // Exit start()
}
//--------------------------------------------------------------------
int deinit() // Special funct. deinit()
{
Alert (“Function deinit() triggered at exit”);// Alert
return; // Exit deinit()
}
//--------------------------------------------------------------------
int My_Function() // Custom funct. description
{
Count++; // Counter of calls
}
//--------------------------------------------------------------------
I see.
But here’s the thing. With the code you have so far, you have no orders, you have no trade conditions, and your function “My_Function()” returns no values. Not to mention, for a Count++ you’d need a for, or while loop counting something, be it open trades, bars, ticks, dogs that the ticks live on… something.
I sent you a couple of PMs explaining things a bit better. I’m by no means a completely proficient coder, but I do have the basics down enough, to be able to help a little:D
Cheers!
Hey guys,
Someone asked me about the link to my site so I posted it. I don’t see the issue?
I also mentioned at the start that I’m not a coder, but I do trade very successfully using automated systems. When I started automated trading I couldn’t find anywhere to get impartial information on how to set it up, and what expectations to set. That is the purpose of this thread.
I’m not here to teach you how to code an EA. there are thousands of people working at making profitable systems across the internet. I focus on finding systems that others have designed that work, not designing them from scratch.
The hard part (in my opinion) about finding a profitable automated system is cutting through the hype and bull##it.
I’m not selling anything here. I do have a site that offers these services, and trading forex (not selling product!) is my profession. I’ve honestly started this thread to give advice to anyone that has a question on how to idenfity great systems, or discuss how they have made or lost money through automated forex trading.
The sun is HOT,
HEy Nick, guess your right… We are all here to help and learn, and all have the same goal, TO GET FILTHY STINKING RICH,
Yeah MT, that was what I came up with that needed plugged in to my EA to get the function I needed to work…
Just cant figure out where to put them,
Haha, yeah. That is the idea. It seems so easy when you read the marketing pages of most of these commercial EA’s!
It was my first option when I found forex…
Then I decided to just learn, then found out I have the patience of a NY Cab driver, and figured, “Hey, Expert is the way” all emotion is out of the equation. SO, every single system I have made, i try to code into an EA, because you know what, Im still not patient…
Exactly! It takes the emotion out of trading. That is why I love it.
I still trade manually, but I have a trade management EA take over once the trade is opened so I can step away and let the market move without needing to watch it (or stress out!).
Im pure price action, and experience sprinkled in there,.
THe thing with the EA is, it really cant see what I see sometimes… I just see it, and then I react.
Depend what you want out of it, you know.
Hmm… I thought this thread was going to talk about system development and actual algorithmic trading. Disappointing.
BabyPips is really in need of a proper algorithmic trading section rather than just EA sellers… I may have to start my own thread soon, this is getting a little ridiculous.
+1.
Hey Nick, if you’re not going to help us code EA or talk about EA algos I assume this thread is about how to select commercial EAs. That is pretty useless IMO. The title of the thread is "How to Start Out in EAs."
I’m not going to start out in EA by going out and buying an EA.
I’m going to try coding my own system.
Or do others not feel this way?
Clark, if you could create a new thread about developing a system that would be swell.
Anyway I’m outta here!
I’ve actually been thinking for some time about starting a thread like that. Although I wouldn’t say I’m an expert by any means on the subject.
Dread Says, Go for it!
Yeah I agree with Clark and dread on this on. High expectations but no substance here what so ever. If there was a solid thread about development, optimization, WFT and robustness/fitness factors i would be all over it.
New thread is up
Fair enough, however I did mention in my original post that I wasn’t offering advice on how to code an EA.
I’m offering advice on how to identify and profit from good automated systems.
The problem is that many others did offer advice on great EA’s and the whole lot did not work…sorry, not planning to try out any EA for the moment.
I’ll later write a long post on why everyone is bashing your thread. However in short: Your intentions might be good but your presentation is not cohesive with the whole idea of “helping people getting started in EA.”
Please realize that many traders in this forums are really serious traders who are striving to learn to trade really good; not just trying to make easy buck. Therefore people here are not really excited about trading using a profitable EA. Rather they’ll be excited about learning to create a good system / EA.
Well you could talk about the highlighted part.
Look Nick you could genuinely be trying to help. My advice, drop the “Picking out EA” thing and focus on the “designing your own system” part.
Anticipating your positive response.