How set target in afl code for buy condition

hy,
how i set target in my afl , if buy price is 100 i want to put 130 is my target , 30 points target then how i code this, please help

Thanks
Sarath

Sell = False;
ApplyStop(stopTypeprofit,stopModePoint,30);

what about short postion target sir?

Create a new formula for a short system. You can use the same Applystop but make Cover = false;

NOW CODE IS OK RIGHT?

BUY =RSI(14)>70;
Sell = False;
ApplyStop(stopTypeprofit,stopModePoint,30);
SHORT=RSI(14)<40;
COVER = False;
ApplyStop(stopTypeprofit,stopModePoint,30);

You'll need a lot of work to find something profitable, given this starting point. Maybe just look at the long system alone for starters. And read here for some pointers on system development. http://www.asxmarketwatch.com/2013/06/amibroker-trading-system-coding-highest-highs-as-used-in-52-week-highs-or-turtle-trading-system/

Thank you sir, Thanks alot