Simple Coding Help - No Promise.

zuma

Active Member

I need help regarding an EXPLORER

i need explorer in 3 column for

1-20 days average price range
2-20 days average price range in percentage (%)
3-20 days Average volume

thank you.
 

amitrandive

Well-Known Member
I need help regarding an EXPLORER

i need explorer in 3 column for

1-20 days average price range
2-20 days average price range in percentage (%)
3-20 days Average volume

thank you.
My amateur attempt at this code :D

Code:
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);
 
Last edited:

zuma

Active Member
My amateur attempt at this code :D

Code:
V1=ma(v,20); 
Adiff=ATR(1)-ATR(20);
Chg =abs(Prec((Adiff/ATR(20))*100,3));
Filter=V1 OR Chg;
AddColumn(ATR(20),"ATR(20)",1);
AddColumn(ATR(1),"ATR(1)",1);
AddColumn(Chg,"ATR change in %",1);
AddColumn(V1, "Average Volume of 20 days", 1);
not getting same.....
 
Hello all,

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!
 
wanted to give RSI variable to zig zag indicator.

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

any help appreciated.
 
Hello all,

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!

Try asking this to Metastock users in Metastock thread, what you are asking is fairly simple formula and you will be able to find quick answer.
 

amitrandive

Well-Known Member
wanted to give RSI variable to zig zag indicator.

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

any help appreciated.
Something similar

http://www.wi sestock trader.com/indicators/4292-ultimate-divergence-detector
(remove spaces )
 
Something similar

http://www.wi sestock trader.com/indicators/4292-ultimate-divergence-detector
(remove spaces )
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.

Thank's in advance.
 

amitrandive

Well-Known Member
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.

Thank's in advance.
You may need to modify this one.It plots zig zag on price

http://www.wis est ocktrader.com/indicators/3334-alternative-zig-type-function
 

Similar threads