Hi all.. I am trying to get a Custom Indicator to work in the Scanner. The Indicator only plots when a condition exists so it is not a continuous plot. It is set to a histogram and I get Green bars for a Bullish Condition and Red for a Bearish condition. When I inserted the indicator in the scanner, it doesn't give me a return at all.
Is there a way to set it up to show either a green or red return of some kind when the condition exists?
Thanks
Shortski
Scanner Inputs
Hard to believe that...
...126 people that have looked at this post and not a single reply. Is anyone using the Scanner to scan for conditions or is it just reporting the value of your indicators?
- TJ
- Posts: 7745
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
Re: Hard to believe that...
...126 people that have looked at this post and not a single reply. Is anyone using the Scanner to scan for conditions or is it just reporting the value of your indicators?
because your description has not been much help.
you have to give a bit more detail...
(a diagram might help)
or if you have tried already, post your "working" codes.
Sorry
The Indicator I put in the Scanner was an Oscillator Divergence. I guess my question is, "What can you scan for?" I have looked at a few other things and all I get are values being returned so how do you input for a condition? When this was being developed, I thought Signals would be the likely input but the Scanner doesn't accept Signals. Is there a way to scan for MACD crossover and get a Red or Green bar or something?
- TJ
- Posts: 7745
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
Re: Sorry
I think it works the other way around...The Indicator I put in the Scanner was an Oscillator Divergence. I guess my question is, "What can you scan for?" I have looked at a few other things and all I get are values being returned so how do you input for a condition? When this was being developed, I thought Signals would be the likely input but the Scanner doesn't accept Signals.
get the scanner to execute signals.
Is there a way to scan for MACD crossover and get a Red or Green bar or something?
red or green bar?
I am not sure if I understand you.
for scanner, you can get the cell color to change to red or green.
tip: until MC's tutorial/manual is ready,
go watch TS's online video tutorial... LOL
MC is not the same as TS, but you will get an idea of the scanner functions.
TS
I can't view a TS video as I am not a client. They used to have this feature available but discontinued it awhile ago. But I am a MC client.
As far as viewing Red or Green bars goes, what I meant was in a histogram, you have red or green bars (I do anyway), so if the condition was showing a red bar, this is what the scanner would show and vice versa for green. If there was no divergence and therefore no bars being plotted, then nothing.
As far as viewing Red or Green bars goes, what I meant was in a histogram, you have red or green bars (I do anyway), so if the condition was showing a red bar, this is what the scanner would show and vice versa for green. If there was no divergence and therefore no bars being plotted, then nothing.
I will try to post a jpg
In sub chart 2 and 3, I have the standard MACD and the 2003 modified MACD. Included in the sub charts are the Oscillator Divergences for each indicator. This is what I would like to scan for.[/img]
- Attachments
-
- ScreenShot.jpg
- MMM Daily
- (212.58 KiB) Downloaded 688 times
- TJ
- Posts: 7745
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
the TS video is still available for non-clients.
https://www.TS.com/support/tu ... screen.htm
MultiCharts is not the same as TS.
This video is only to give you an idea of what you can do with scanning.
https://www.TS.com/support/tu ... screen.htm
MultiCharts is not the same as TS.
This video is only to give you an idea of what you can do with scanning.
Thanks but
I used to be a TS client. I was hoping MC would have this kind of versatility. I will play with it some more and see if I can get some kind of scanning to work but it looks like I will have to go to StockFetcher or some other site at his point.
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007
Re: Scanner Inputs
Hi Shortski,Hi all.. I am trying to get a Custom Indicator to work in the Scanner. The Indicator only plots when a condition exists so it is not a continuous plot. It is set to a histogram and I get Green bars for a Bullish Condition and Red for a Bearish condition. When I inserted the indicator in the scanner, it doesn't give me a return at all.
Is there a way to set it up to show either a green or red return of some kind when the condition exists?
Thanks
Shortski
From what we understand, you would like to emulate NoPlot in Scanner.
You can achieve that by converting values into strings and when a condition is not met, an empty string will be created.
if condition1 then
plot1(NumToStr(close,4), "PlotName", green)
else
if condition2 then
plot1(NumToStr(close,4), "PlotName", red)
else
plot1("", "PlotName");