Pls tell me the AMI code for :
I need to plot volume for each candle...
condition is : if previous bar high is less than current bar close , volume should be positive.
if previous bar high is greater than current bar close, volume should be negative.
eg: volume if present bar is say 7000,
previous bar high is 7856 , present bar close is 7865 then volume is 7000
previous bar high is 7885 , present bar close is 7870 then volume is -7000
thanks for ur support.:thumb:
I need to plot volume for each candle...
condition is : if previous bar high is less than current bar close , volume should be positive.
if previous bar high is greater than current bar close, volume should be negative.
eg: volume if present bar is say 7000,
previous bar high is 7856 , present bar close is 7865 then volume is 7000
previous bar high is 7885 , present bar close is 7870 then volume is -7000
thanks for ur support.:thumb: