Simple Coding Help - No Promise.

pratapvb

Well-Known Member
hello sir,

Does ref Function reference future quotes?

example: C>Ref(C,-1)

Does this code reference future quotes?

Thanks

Sudha
-1 compares to prev bar and -2 to 2 bars back

but if you use +1 then it would mean next bar and +2, bars 2 bars after current bar....in that sense future

Edit: already answered
 
Last edited:

pratapvb

Well-Known Member

pratapvb

Well-Known Member
Happy ji,

I tried it but getting error

pls check it at ur end.

(If possible pls post full code)

Thanx you
ema3 is just meant to be mean ema 3 period so

Filter = H < ema(c, 3) OR L > ema(c, 3) ;
 
ema3 is just meant to be mean ema 3 period so

Filter = H < ema(c, 3) OR L > ema(c, 3) ;


Thanx you for ur efforts Pratap ji..



But i need a Scanner..n when i tried

when i tried to Scan it... it is giving me message

Buy/Sell variable missing



When i tried to explore ...

it gave me message..

You need to define NumColumn variable.


Would request you to check once at ur end then post the code.


Thanx you
 
ema3 is just meant to be mean ema 3 period so

Filter = H < ema(c, 3) OR L > ema(c, 3) ;
Hello

the above code by pratap is working . . .
it gives the default 2 columns . . . as output . . .

Ticker & Date/Time


For further enhancements try using Addcolumn fields from any other common explorer code . . .



Happy :)
 
Please Guide :

1) How to change Amibroker's basic window background to grey? I know how to change chart background but don't know about Amibroker's basic background that we can notice when we hide the chart or resize it or which appears when we have not loaded any chart.

2) How to get only TILE ? I dont want vertical tile or horizontal. ONLY TILE ?

3) How to get bar chart as default ? I have to change again and again from toolbar>view>price chart style. I want to change it permanently to bar chart- like whenever i run amibroker it should display only bar chart.
 

Similar threads