Sell after buying 4 days

#1
Dear all,
I'm a newbie in Amibroker and I have a question as follow. Somebody please help me:

I had:

Buy=Cross( RSI(14),30);

Now I want to sell after order buy happened 4 days? What is code for this situation?
that means:
If Buy : 01/04/2012
Then Sell: 05/04/2012

Sorry for my bad English because I'm not speak English.
Thank,
 

mehtaka

Active Member
#4
Is der any AFL, where we can exit on SAR Value rather than the closing value of the bar.

In backtesting, usually when the Prices are hitting SAR, the exit is taken place on the closing price of the bar, rather than SAR value.
 

mehtaka

Active Member
#5
In backtesting, when Prices hit the Parabolic SAR, it takes the closing value of the bar rather than the SAR value.

Can we get the exit value , in backtesting , as per SAR.??
 

mehtaka

Active Member
#6
In backtesting, when Prices hit the Parabolic SAR, it takes the closing value of the bar rather than the SAR value.

Can we get the exit value , in backtesting , as per SAR.??
 
#7
Dear all,
I'm a newbie in Amibroker and I have a question as follow. Somebody please help me:

I had:

Buy=Cross( RSI(14),30);

Now I want to sell after order buy happened 4 days? What is code for this situation?
that means:
If Buy : 01/04/2012
Then Sell: 05/04/2012

Sorry for my bad English because I'm not speak English.
Thank,
pak định tm code onh T4 ag...:lol: