- Dear Sir,
I want following Amibroker AFL codes to be developed for any set of BUY - SHORT conditions.
Let's first discuss for BUY-
1. As soon as BUY is planted, a SL 2% of BUY Price should be in place which would trail as under.
2. In case Price reaches 1% of BUYPrice, then trail SL should move to BUYPrice.
3. If Price moves further by another 1% of BUY Price, then Trail SL Should move upwards by 0.5% of BUYPrice and so on.
4. In case of Point no 1, if after BUY , the price does move or retraced, then, either SELL will come as per sell conditions or SL @2% whichever comes first.
The above will be drawn in similar manner for SHORT and trail SL shall move as explained for BUY conditions above.
Plz advise, if these codes can b written by any member?.
For illustration purposes, you may use EMA cross overs as Buy, Sell, Short and Cover Conditions, which I can be changed with any other conditions. The steps increase in Trail SL can be made parameters.
Plz advise.
I want following Amibroker AFL codes to be developed for any set of BUY - SHORT conditions.
Let's first discuss for BUY-
1. As soon as BUY is planted, a SL 2% of BUY Price should be in place which would trail as under.
2. In case Price reaches 1% of BUYPrice, then trail SL should move to BUYPrice.
3. If Price moves further by another 1% of BUY Price, then Trail SL Should move upwards by 0.5% of BUYPrice and so on.
4. In case of Point no 1, if after BUY , the price does move or retraced, then, either SELL will come as per sell conditions or SL @2% whichever comes first.
The above will be drawn in similar manner for SHORT and trail SL shall move as explained for BUY conditions above.
Plz advise, if these codes can b written by any member?.
For illustration purposes, you may use EMA cross overs as Buy, Sell, Short and Cover Conditions, which I can be changed with any other conditions. The steps increase in Trail SL can be made parameters.
Plz advise.