Intro

#1
Hi,

I am not very good in AFL. Trying to build a strategy. Need help.

In below sell formula;

Sell = Cross(Close, SellPrice);

I want to replace the "Close" with the real time price. Couldn't find the parameter. Now what happens it waits for Close value of a bar to cross the sellprice set. I want to sell within the bar if the price crosses the sellprice without waiting for that bar to close. Appreciate your help.

Thanks & Regards

Abraham
 
Last edited:
#2
Hi,

I am not very good in AFL. Trying to build a strategy. Need help.

In below sell formula;

Sell = Cross(Close, SellPrice);

I want to replace the "Close" with the real time price. Couldn't find the parameter. Now what happens it waits for Close value of a bar to cross the sellprice set. I want to sell within the bar if the price crosses the sellprice without waiting for that bar to close. Appreciate your help.

Thanks & Regards

Abraham

Happy Singh is AFL king.......I refer serious patient to him.....be happy.....:D
 
#4
Hi,

I am not very good in AFL. Trying to build a strategy. Need help.

In below sell formula;

Sell = Cross(Close, SellPrice);

I want to replace the "Close" with the real time price. Couldn't find the parameter. Now what happens it waits for Close value of a bar to cross the sellprice set. I want to sell within the bar if the price crosses the sellprice without waiting for that bar to close. Appreciate your help.

Thanks & Regards

Abraham
Hello jaita,

I don't have much knowledge regarding AFL but hope this vl help.
https://www.amibroker.com/guide/afl/applystop.html

Good Luck.
 

Similar threads