I tried to change the ea shell (bare bones), added some functions (like psar trailing) and made it modular so building new eas should be less complicated for ones who are not familiar with mql.
See sourcecode for details
Bare Bones Slope EA.shell ea code.ex4
Bare Bones Slope EA.shell ea code.mq4
main module, belongs to /experts/ folder. It includes all the mainfunctions (like trademanagement).
"TradeLong" and "TradeShort" are set to false, so if you want the ea to open trades, set it to true!
If the mainmodule is bugfree, you do not have to change anything there.
Just edit the include-file, specifie its name in line 26 in the main module (current: #include <include.ea-shell.bare-bones_slope_EA.mqh>), save it under a new name and that is it.
include.ea-shell.bare-bones_slope_EA.mqh
belongs to experts/include/ folder. Includes all the functions of the ea you want to build. Please see instructions in the sourcecode.
include.ea-blank.mqh
blank include file, just the necessary functions, so its easy to understand how it works.
I added some standard-indicator functions, may be they are useful for somebody.
But I do not know if these are correct:
double getVROC(string symbol,int timeframe,int period,int shift)
double getPVT(string symbol,int timeframe,int applied_price,int shift)
double getASI(string symbol,int timeframe,double T,int shift)
~Mt4iSendMail_setup.zip
setup for the Mt4i SendMail library, may be also downloaded at
http://www.mt4i.com/appstore/app.aspx?id=17
~twt_twitter_setup.zip
the twitter client, may be also downloaded at
http://code.google.com/p/twt/
The twt.exe and the config (will be created after successful initialization) belong to the experts/fildes/-folder.
CmdExe.mqh
belongs to experts/include/-folder. Is needed if you want to use the twitter function.
Please report bugs
edit: If you prefer german, have a look to the
corresponding thread at forexfabrik.de, here (do not refer to it as "Krautforum"

)
Bare Bones Slope EA.shell ea code.mq4
include.ea-shell.bare-bones_slope_EA.mqh
~Mt4iSendMail_setup.zip
~twt_twitter_setup.zip
CmdExe.mqh
include.ea-blank.mqh
edit:
new attachments, with less bugs and more functions. Just load the .ex4 (or compile for yourself) and play around. Do not forget to set "TradeLong" and "TradeShort" each to "true". And, only use on demo ...
EA template.shell ea code.ex4
EA template.shell ea code.mq4
include.ea-template.mqh
You do not have the required permissions to view the files attached to this post.