Hello @sudhir_123
Yes. I am visiting the forum very often.
To cover your question. YES, we have to write the logic in AFL.
// Below is a same logic
// Buy at next bar OPEN, if your condition is met at the previous bar
cond1 = write Long condition here..
Buy = ref( cond1,-1);
Buyprice = open;
About the ref()
function read here AFL Function Reference - REF
Can you please Verified your License
Only users with License Verified Badge are allowed to post on this forum.
https://forum.amibroker.com/t/license-verified-badge/13353