i would like an expert advisor/script written in the mql4 language.
im guessing it would be a breakout type of system for the daily time frame only, using a variable number of days e.g. 10 day. this may include other time frames at a later date.
after the close of a new high or low bar, it will execute a buy or sell at market order on the open of the next new bar.
calculations and variables will be needed including:
count back from the latest bar to find a new high/low for the last eg 10 days
recent volatility will be used for setting stop loss, and for adding more positions and also for calculating trailing stops for exits.
lot size will be calculated on % of account balance.
some sort of stealth mode so as the broker doesnt know anything and a magic number to keep track of trades