V1=ma(v,20)/1000;
Chg =abs(Prec((ATR(20)/C)*100,3));
Filter=V1 OR Chg;
AddColumn(ATR(20),"ATR(20)");
AddColumn(Chg,"ATR change in %");
AddColumn(V1, "Average Volume of 20 days in thousands", 1);
I have been struggling with a code that is actually very simple and basic. All I am looking for is a formula for an exploration in MetaStock that will yield me stocks whose price has gone from below the 50 EMA to above the 50 EMA. This exploration would make life much simpler for me so I'd be obliged if anyone could help me out.
Eagerly looking forward to a response. Thanks a ton!
Current formula of Zig Zag indicator is Zig(price,change) where price is O,H,L,C factor and change is % change
I was able to plot zig on high when RSI>70 and on low when RSI<30 but still it depends on percentage change to plot peaks and throughs whereas I need it to plot peaks and through when RSI reaches over bought and oversold zones
So allow me to put it more clear
currently zigzag needs % change to plot highs and lows where as I want it to mark highs and lows depending on RSI OB and OS regions
I have been struggling with a code that is actually very simple and basic. All I am looking for is a formula for an exploration in MetaStock that will yield me stocks whose price has gone from below the 50 EMA to above the 50 EMA. This exploration would make life much simpler for me so I'd be obliged if anyone could help me out.
Eagerly looking forward to a response. Thanks a ton!
Current formula of Zig Zag indicator is Zig(price,change) where price is O,H,L,C factor and change is % change
I was able to plot zig on high when RSI>70 and on low when RSI<30 but still it depends on percentage change to plot peaks and throughs whereas I need it to plot peaks and through when RSI reaches over bought and oversold zones
So allow me to put it more clear
currently zigzag needs % change to plot highs and lows where as I want it to mark highs and lows depending on RSI OB and OS regions
I was able to plot Zig zag on RSI but I need to plot RSI valued zigzag on price bars.
Example:
Created a chart to display bars in green colour when RSI goes above 70 and bars will be displayed in red colour when RSI goes below 30 Now I need to connect those high's and low's using a Zig Zag indicator. Thats where I am struck.
I was able to plot Zig zag on RSI but I need to plot RSI valued zigzag on price bars.
Example:
Created a chart to display bars in green colour when RSI goes above 70 and bars will be displayed in red colour when RSI goes below 30 Now I need to connect those high's and low's using a Zig Zag indicator. Thats where I am struck.