[amibroker] plz correct this stoploss formula

2009-12-07 Thread rink
Hi i tried to create a stoploss formula but there is something wrong please correct it buy=cross macd, sell =cross signal initail stoploss is 2% but when prices up 4% stoploss move to breakeven buyprice *Buy* = Cross( MACD(), Signal() ); *Sell* = Cross( Signal(), MACD() ); rink=(ApplyStop

[amibroker] please write this stoploss

2010-03-09 Thread rink
i have been asking for help to write a stoploss for 6 months but i don't get any reply i am requesting expert to help me initail stoploss is 2% but when my profit goes 4% stoploss should move to breakeven buyprice example if i buy a stock at 100 my initial stoploss is at 98 so when prices goes

[amibroker] Re: Stoploss that moves to break-even point and stays there

2010-03-11 Thread rink
Hi mike i saw tomasz example but i couldn't make correct formula, will you help me to write the formula? please --- In amibroker@yahoogroups.com, "Mike" wrote: > > Hi, > > I suspect that my previous post was mistaken, and that you would in fact need to use a loop for the scenario being des

Re: [amibroker] reg time frame........

2009-11-19 Thread rink
Hi there go to file>databasesetting>click intraday setting check show day session only below fill day session(rth) start at 10.00 fill end time as you want leave night session empty check local time below on daily time compression uses click ok now your day will start from 10am WildWoman4915

[amibroker] exploration working only till 13 nov 2009

2009-11-19 Thread rink
I have been facing strange problem, when i try to use exploration with any afl it is showing result only till 13/11/09 when i try to add date range like 18/11/09 to 18/11/09 it shows blank and when i try to check n=1 last quotation it shows result of 13/11/09 with any afl but if i use with intrad

[amibroker] slow amibroker chart

2009-11-24 Thread rink
Hello all when i use 5min chart of a symbol which have 9 years data amibroker chart become so slow(means become so slow to go back when we roll mouse button) i tried to change database setting with high numbers of bars but it still slow, but when i change chart to 15min or higer it become fast

Re: [amibroker] Re: slow amibroker chart

2009-11-25 Thread rink
yes jules it is working ok with chart which using low bars, but become slow with chart which using high numbers of bars(1) how can i reduce bars tell me ? thank you jooleanlogic wrote: Rink, this is a consequence of the amount of data you are requesting to be processed. The more

[amibroker] need help to write stoploss fromula

2009-11-27 Thread rink
Hello all i want to move stoploss on r(risk) based if my position reach 2r then automatically my stop should trail at cost my risk is 2% instance if i buy abc at 100 with sl of 98, if abc goes at 104 then stoploss should automatically trail at 100rs thank you

Re: [amibroker] need help to write stoploss fromula

2009-11-27 Thread rink
04, do you want your stop loss to stay at 100, or to move up to 102? rink wrote: Hello all i want to move stoploss on r(risk) based if my position reach 2r then automatically my stop should trail at cost my risk is 2% instance if i buy abc at 100 with sl of 98, if abc goes at 104 then stopl

[amibroker] exrem(array1,array2) please elaborate it?

2009-12-01 Thread rink
Hello everybody please elaborate in simple english what is this formula? i read help file but cant understand it says removes excessive signals: returns 1 on the first occurence of "true" signal in Array1 then returns 0 until Array2 is true even if there are "true" signals in Array1 in this form

[amibroker] please write this trailing stoploss code thankyou

2009-12-01 Thread rink
Hello all i want to move stoploss on r(risk) based if my position reach at profit of 2r then automatically my stop should trail at cost my risk is 2% instance if i buy abc at 100 with sl of 98(risk 2 point so r is 2), if abc goes at 104(profit of 4 point so 2r gain) then stoploss should autom

Re: [amibroker] exrem(array1,array2) please elaborate it?

2009-12-01 Thread rink
l the next Sell signal is raised)) 2009/12/1 rink mailto:boyri...@yahoo.co.in>> Hello everybody please elaborate in simple english what is this formula? i read help file but cant understand it says removes excessive signals: returns 1 on the first occurence of &q

[amibroker] how to plot buyprice at chart?

2009-12-02 Thread rink
Hello all please tell me how to plot buy price at chart suppose i use this formula(look below) and it gives buy signal at 55 for symbol abc now i want to plot 55 on chart please tell me thankyou bk= MA(C,100); zz=c>bk; Buy = Cross( EMA( Close, 10 ), EMA( Close, 252 )) and bk ;

[amibroker] ATR Trading System

2007-05-28 Thread Louis Guy Rink
We have not been able to modify the following formula in order to optimize the multiplier factor (k) and the period (n). Can anyone help us to modify this formula so that it will optimize both factors? _SECTION_BEGIN("ATR Trading System"); /*Writed & composed by Tudor Marcelin - Art Invest*/ k=1