Specification
should set up automated trading ea from these points and attached ea.
if price simply trends up, or there is a news break or a spike, the ea triggers buys. then,
if it immediately spikes down, or simply trends down, it should close buys at profit,
after inserting a trail as a backup stop loss, or the breakeven (plus swap and
commissions). then opens the sells, and will do this both directions, similar to oco.
all done within the one minute candle or at the end of it. it should
not be done during several candles, nor during several hours, nor
several days.
add a user defined input for RiskPercent.
maximum number of trades that the ea can continue to open, must be based on
RiskPercent, balance, available equity, margin requirements, and number of open trades.
ea should calculate profit for up to five digits pip movements correctly and include
lot, swap, and commissions.
ea should adjust for two, three, and five digit prices.
currently, you should note that, the ea is closing trades at a loss. it is opening opposite
trades, locking them (hedge), holding and closing them at a loss.
ea should not open opposite trades and lock them (hedge). ea is draining the balance out.
that is not good.
ea should start working with a balance as low as $150,00., or lower, and the margin
of 1:300.
ea must calculate lot per trade based on balance, available equity, margin
requirements, number of open trades, and the user defined lot input and RiskPercent.
basically, the ea should be able to follow consecutive ticks in the direction of profit.
if necessary, you should set up other indicators, or replace the current ones.
use these user defined inputs:
MaxSpread = 0;
UseMaxLoss = ;
MaxLoss = 0;
UseMaxPipsLoss = ;
MaxPipsLoss = 0;
LotSize = 0.01 ;
RiskPercent = 0.0 ;
slippage = 0;
StopLoss = 0 ;
TakeProfit = 0;
UseMoveToBreakeven = ;
BreakEven = 0;
BreakPips = 0;
UseTrailing = ;
TrailStop = 0 ;
TrailStep = 0 ;
MaxTrades = 0 ;
please
show debug errors in ea terminal journal for at least opening, closing,
and modifying orders, receiving tick data, price feeds, and broker
connection status.