Ignore signal with same symbol amibroker

#1
Hello Experts,

I am using amibroker to find stock scanning.
Stuck up with the below mentioned.

Say, in my scanner both " ACC " and : ACC Future " gives BUY signal at 09:30 am and 09:45 am respectively.

My moto is that to generate Buy signal for "ACC" since it generate 1st not "ACC Future" through AFL.

I tried with " CashSymbol = StrTrim(StrReplace(Name(),"-1",""),"",2); " and Name () function NOT Equality, but did not succeed.

Can I get some help in this.

thanks

RB
 

HappyLife

Well-Known Member
#4
Code:
//my database -F1 = future so.........
Cash_Symbol = !StrFind( Name(), "-F1" );
Buy = Your_Buy_Condition AND Cash_Symbol;
 

Similar threads