Hello,
I am trying to have the market scanner plot when a specific event occurs. For some reason it plots the last event that occurs, so if this event happen 2 days ago it will be plotting it. I only want it to plot when it is happening in the moment. I have done this in TS radar screen for a number of years now but can't get it to work in Multicharts.
ex.
plot1(0);
if cci(50) > 200 then plot1(1);
if cci(50) < 200 then plot1(2);
It seems like there are differences in coding between TS and MC. Does anyone know how this works in MC?
Thanks
Market Scanner Plot
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007
Hi iso,
The scanner shows the latest plot value (the current value). If the latest CCI(50) value is greater than 200, it'll show 1, if it's less than 200, the scanner will show 2, if it equals 200 you'll see 0.
Code: Select all
plot1(0);
if cci(50) > 200 then plot1(1);
if cci(50) < 200 then plot1(2);
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007