[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Metastockusers] Help



PureBytes Links

Trading Reference Links






We have 3 indicator: volup, voldown and 
v2*mov(v,50,s)
Is possible to translate in metastock the following 
routine?
Thanks
 
do until voltot1 > v2 * moveav(volume, v1)

i = i + 1
voltot1 = voltot1 + volume( - i)
if close( - i) > close( - i - 1) then
volup1 = volup1 + volume( - i)
else
if close( - i) = close( - i - 1) then
volup1 = volup1 + volume( - i)
voldown1 = voldown1 + volume( - i)
else
voldown1 = voldown1 + volume( - i)
endif
endif
loop







Yahoo! Groups Sponsor


  ADVERTISEMENT 









Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/Metastockusers/ 
To unsubscribe from this group, send an email to:Metastockusers-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.