Simple Coding Help - No Promise.

chintan786

Well-Known Member
Dear Yusi and All masters, Need help regarding below condition:

wants to put a star mark, If:

Candle body closed (closed = high Or low of this candle) inside Tail of Previous candle
OR
Candle body closed (closed = high Or low of this candle) outside of previous candle

Best Regards,
Vikas Soni
 
Please re-read the basic sections in the manual / AFL reference
assignment operator is = where as
logical comparison operator is ==


ExRem removes all the extra buy/short signals


.
No need to write a loop to remove extra buy/sell signals
proper use of exrem solves the issue


Code:
    Buy  = ExRem(Buy,Sell);        Short = ExRem(Short,Cover);
    Sell = ExRem(Sell,Buy);        Cover = ExRem(Cover,Short);

.
 

checkmate7

Well-Known Member
Anyone know how to Autofeed data to Amibroker from csv files ???... I am getting data realtime in csv files in a folder for some stocks...I need to automatically push it into Ami...
 

Similar threads