Automated Trading-(100%) thru Amibroker

mastermind007

Well-Known Member
#37
Hi friends, my broker is master trust, recently they introduced fully automated trading and they have given a 3 days trail with Nest trader, amibroker and nimbleDataPro. In the amibroker there is one default strategy GFDL_OT_AT_ver18, They told that with this strategy can get consistent pofits, but in 3 days free trail it is not worked out moreover it is generating brokerage for them.

When I questioned them, now they are simple saying I have to develop my own strategy, but I dont have any knowledge in programming. I need only 3 points in crudeoil, 0.30 in copper with 15 minutes based chart with a stop loss of 5 points in crudeoil and 0.50 in copper. Is it possible with any parameter setting or a strategy, can any body help. if it is possible very much thanks in advance.
If you had bothered to spend a minute to read into the afl they gave you, you'd have found disclaimer that said; "DO not use it for real trading"
 

NJ23

Well-Known Member
#40
how to maintain slippage in amibroker
Use this code as a custom backtest procedure:

Tick = 0.05;
Slippage = Tick * 20;

//Start of Custom Backtest Interface
SetCustomBacktestProc("");

if ( Status( "action" ) == actionPortfolio )
{
bo = GetBacktesterObject();

bo.PreProcess(); // Initialize backtester

for ( bar = 0; bar < BarCount; bar++ )
{
for( sig = bo.GetFirstSignal( bar ); sig; sig = bo.GetNextSignal( bar ) )
{
sig.Price = sig.Price + IIf( sig.IsLong(), Slippage, -Slippage );
}

bo.ProcessTradeSignals( bar );
}

bo.PostProcess(); // Finalize backtester
}
 

Similar threads