Ema crossover with fixed target and stoploss

IS THERE ANY CODE FOR EVERY CROSSOVER A FIXED TARGET AND STOPLOSS WILL GENRATE AND ANYONE HIT FIRST TRADE CLOSE .

hElLO tRaDeR,

Something similar :

http://tradingqna.com/46900/exit-at-profit-percentage-when-ema-cross-over-happens

Please refer below:

i need this in traderscript …