Doji crosses
in Scanning
What’s wrong with this? errors
and [[Dragonfly Doji X sma(20 , close)] or [(close/open-1 >=.005) X sma(20,close)]]
and [[Dragonfly Doji X sma(20 , close)] or [(close/open-1 >=.005) X sma(20,close)]]
0
Comments
-
and [[Dragonfly Doji X sma(20 , close)] or [(close/open-1 >=.005) X sma(20,close)]]
try this for the first part:
and [
[
[Dragonfly Doji is TRUE]
and [close x sma(20,close)]
]
Dragonfly Doji is true/false, while sma is numerical; you can't (edited from "can") compare true/false to a number.
for the second part
or [(close/open-1 >=.005) X sma(20,close)]]
the left hand side is not valid because it's a complete expression, not a recognized variable;
instead, maybe
or
[
[close/open-1 >=.005]
and [close x sma(20,close)]
] ]
Also, you might need to clarify the close/open operation; and use brackets, not parens, which are reserved for built-in functions, like sma( ).
is it
[[close/open] - 1] >= .005]
(i.e. divide the close by the open, then subtract 1 from the result)
or is it
[close/[open - 1] >= .005] ?
(i.e. subtract 1 from the open and divide the result into the close)
I know there is an order of precedence for operations, but I can never remember what it is, so the brackets help make it clear what you are asking for.0 -
Thanks MARKD...Ill will try your recomendation0
Categories
- All Categories
- 2.4K StockCharts
- 397 SharpCharts
- 146 Other Charting Tools
- 69 Saved Charts and ChartLists
- 1.5K Scanning
- 74 Data Issues
- 177 Other StockCharts Questions
- 224 Technical Analysis
- 155 Using Technical Analysis
- 6 InterMarket and International
- 19 Market and Breadth Indicators
- 44 Market Analysis
- 109 Trading
- 109 Trading Strategies
- 162 S.C.A.N the StockCharts Answer Network forum
- 64 Using this StockCharts Answer Network forum
- 98 s.c.a.n. archives
- 7 Off-Topic
- 7 The Cogitation & Rumination Emporium
- Forum Test Area
