Hello every1...
I am a bit new in TA world...
Was trying my hand on amibroker...
Coding was fine (as i belong to software industry) but for me the prob is backtesting...
I hope senior members can help me here...
Say I have setup a buy condition.
eg. Buy = Condition1 AND Condition2
this is giving signals properly.
Say Buy signal is genrated based on todays' EOD, Now I wanna buy the stock tomm morning only when price crosses today's High by some amount, say 2 Rs.
How wld i set this thing in backtesting as in backtesting it always consider the today's close price. My BuyPrice statement is not working.
Prob 2: - Now i want to set the SellPrice as either X% up of the Buy price or Y% down of the Buy Price..
Can anybody help....
tnx in advance
I am a bit new in TA world...
Was trying my hand on amibroker...
Coding was fine (as i belong to software industry) but for me the prob is backtesting...
I hope senior members can help me here...
Say I have setup a buy condition.
eg. Buy = Condition1 AND Condition2
this is giving signals properly.
Say Buy signal is genrated based on todays' EOD, Now I wanna buy the stock tomm morning only when price crosses today's High by some amount, say 2 Rs.
How wld i set this thing in backtesting as in backtesting it always consider the today's close price. My BuyPrice statement is not working.
Prob 2: - Now i want to set the SellPrice as either X% up of the Buy price or Y% down of the Buy Price..
Can anybody help....
tnx in advance