Patacôncio
05-06-2003, 18:40
Common Metastock Bar Patterns
BAR - 3 Higher Highs
H>Ref(H,-1) AND Ref(H,-1)>Ref(H,-2) AND Ref(H,-2)>Ref(H,-3)
BAR - 3 Lower Lows & Reversal H
L>Ref(L,-1) AND Ref(L,-1)<Ref(L,-2) AND Ref(L,-2)<Ref(L,-3) AND
Ref(L,-3)<Ref(L,-4)
BAR - 3 Lower Lows
L<Ref(L,-1) AND Ref(L,-1)<Ref(L,-2) AND Ref(L,-2)<Ref(L,-3)
BAR - 5 Lower Lows
L<Ref(L,-1) AND Ref(L,-1)<Ref(L,-2) AND Ref(L,-2)<Ref(L,-3) AND
Ref(L,-3)<Ref(L,-4) AND Ref(L,-4)<Ref(L,-5)
BAR - Expansion Buy
If(C > Ref(HHV(C,42),-1) AND H-L >= Ref(HHV((H-L),9),-1),1,0)
BAR - Expansion Sell
If(C < Ref(LLV(C,42),-1) AND (H-L) >= Ref(HHV((H-L),9),-1),1,0)
BAR - Fractal-down
If(LOW < Ref(LOW, -1),1,0) AND If(LOW < Ref(LOW, -2),1,0) AND If(LOW <
Ref(LOW,+1),1,0) AND If(LOW < Ref(LOW,+2),1,0)
BAR - Fractal-up
(If(HIGH > Ref(HIGH, -1),1,0) AND If(HIGH > Ref(HIGH, -2),1,0) AND If(HIGH
> Ref(HIGH, +1),1 ,0)AND If(HIGH > Ref(HIGH,+2),1,0))
BAR - Gap Down
GapDown()
BAR - Gap Up
GapUp()
BAR - H > Yesterday's H
H>Ref(H,-1)
BAR - Highest Bars Ago
HighestBars(CLOSE)
BAR - Highest High Value Bars Ago
HHVBars(CLOSE,50)
BAR - Inside Day + Day 3
Ref(Fml("BAR - Inside Day"),-3)
BAR - Inside Day
HIGH < Ref(HIGH,-1) AND LOW > Ref(LOW,-1)
BAR - Lizard Buy
If(O >= L + ((H-L) * .75) AND C >= L + ((H-L) * .75) AND L <
Ref(LLV(L,9),-1),1,0)
BAR - Lizard Sell
If(O <= L + ((H-L) * .25) AND C <= L + ((H-L) * .25) AND H >
Ref(HHV(H,9),-1),1,0)
BAR - Narrow Range 4
HIGH - LOW < Ref(LLV(H-L,3),-1)
BAR - Narrow Range 7
HIGH - LOW < Ref(LLV(H-L,6),-1)
BAR - O > Yesterday's C
O>Ref(C,-1)
BAR - Outside Day & > C
Outside() AND C>Ref(C,-1)
BAR - Outside Day
HIGH > Ref(HIGH,-1) AND LOW < Ref(LOW,-1)
BAR - Pivot Buy
If(H-L > Ref(HHV((H-L),9),-1) AND ((L <= Mov(C,50,S)) OR Ref(L,-1) <=
Ref(Mov(C,50,S),-1))
AND C > Mov(C,50,S),1,0)
BAR - Pivot Sell
If(H-L > Ref(HHV((H-L),9),-1) AND ((H >= Mov(C,50,S)) OR Ref(H,-1) >=
Ref(Mov(C,50,S),-1))
AND C < Mov(C,50,S),1,0)
BAR - Reaction Day with Volume
ReactionWithVol()
BAR - Reaction Day
Reaction()
BAR - Surprise Day Down
O<Ref(C,-1) AND C>O AND C<Ref(C,-1)
BAR - Surprise Day Up
O>Ref(C,-1) AND C<O AND C>Ref(C,-1)
BAR - Trough Value - 5
Trough(1,CLOSE,5)
BAR - Typical Price
Typical()
(from Walter Lake}
e uma explicaçãozita anexa de como aplicar isto, não se arranja ?
Chinês? Tailandês ou Siberiano? Ou será apenas HTML?
Explica lá aos "ignorantes" ó Patacôncio!!!:D
Mohandas
05-06-2003, 18:57
... que é Pataconciano... :D
Patacôncio
05-06-2003, 19:00
Linguagem do metastock, para fazer indicadores, sistemas ou exploradores.
Se começarem a explorar a linguagem do metastock não tereis problemas em aplicar as fórmulas.
Tentai fazer indicadores com estas fórmulas e ... vejam o resultado !!! ehehehehhh
Html ...
Ah ! Aquilo que se usa para fazer paginas-net ??? ehehhehheh
Então aí vai. Não dá para metastock ou no tradis ...
<!-- Generated on Pataco Tintole to Mohandas Sumol -->
<!--SETUP="cbs.marketwatch.com/research/intchart.asp@Adv,Ribbon,Sidebar2,x06?reg_age_range =25-34®_income_range=0-49®_gender=male®_industry=other®_occupation=other®_trades_per_year=1-5®_newsletter_purchase=no" -->
<script language="Javascript" SRC="http://i.mktw.net/include/js/browsercheck.js"></script>
<html><head><title>CBS Marketwatch - Interactive Charting</title><link rel=stylesheet type="text/css" href="http://i.mktw.net/styles/css/global_xsmall.css"></head>
<script language="Javascript">
<!--
//'''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''''''''''''''''''''
// these are for the basic controls, when a setting is "selected"
var oldBasicTime
var oldBasicCompidx
var oldBasicUf
var doOldBasicTimeRevert
var doOldBasicCompidxRevert
var doOldBasicUfRevert
var is = new BrowserCheck()
//'''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''''''''''''''''''''
function changeOne(strElement, strValue, thedivid){
var form = document.formChart;
if(document.all)
{
thediv = eval("document.all." + thedivid);
}
else if(document.getElementById){
thediv = document.getElementById(thedivid)
}
form[strElement].value = strValue //
if (form.time.value == ''){form.time.value = '8';}
if (form.compidx.value == ''){form.compidx.value = 'aaaaa~0';}
if (form.uf.value == ''){form.uf.value = '0';}
if (form.freq.value == ''){form.freq.value = '1';}
if (form.time.value == '1'){
form.freq.value='9';
}
else if (form.time.value == '3'){ // using the proper freq based on selection
form.freq.value = '7';
} else {
form.freq.value = '1';
}
if (is.ie == true || is.ns5 == true){ // doing the "selected" css font display swap
//thediv is passed in as "this".
thediv.style.color = "black"
thediv.style.fontWeight = "bold"
thediv.style.textDecoration = 'none';
//check whether to reset previous click colors
if (doOldBasicTimeRevert == true && strElement == 'time'){ // setting the previous selection back to normal
oldBasicTime.style.color = '';
oldBasicTime.style.fontWeight = 'normal';
oldBasicTime.style.textDecoration = 'underline';
}
if (doOldBasicCompidxRevert == true && strElement == 'compidx'){ // setting the previous selection back to normal
oldBasicCompidx.style.color = '';
oldBasicCompidx.style.fontWeight = 'normal';
oldBasicCompidx.style.textDecoration = 'underline';
}
if (doOldBasicUfRevert == true && strElement == 'uf'){ // setting the previous selection back to normal
oldBasicUf.style.color = '';
oldBasicUf.style.fontWeight = 'normal';
oldBasicUf.style.textDecoration = 'underline';
}
//setting up reset values
if (strElement == 'time'){
oldBasicTime = thediv;
doOldBasicTimeRevert = true;
}
if (strElement == 'compidx'){
oldBasicCompidx = thediv;
doOldBasicCompidxRevert = true;
}
if (strElement == 'uf'){
oldBasicUf = thediv;
doOldBasicUfRevert = true;
}
}
}
//'''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''''''''''''''''''''
function InitAdvForm(){
if (is.ie == true && document.formChart ) {
document.formChart.comp.size = 17; //Make the input larger for IE
}
if ( is.ns5==true && document.formChart ) {
document.formChart.comp.size = 15; //Make the input larger for IE
}
}
//'''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''''''''''''''''''''
function drawDhtml() {
form = document.formChart;
if (is.ie == true) {
var thisPage = document.all;
} else if (is.ns == true) {
var thisPage = document.layers;
}
var firstSymb = "flex"
var secondForm = document.nc_symb;
var secondSymb = secondForm.symb.value;
form.symb.value = secondSymb;
var intTime = form.time[form.time.selectedIndex].value;
var intFreq = form.freq[form.freq.selectedIndex].value;
// invalid intraday time/freq error handling
if (intTime == '1' || intTime == '2' || intTime == '3' || intTime == '18'){ var intraTime = true }
if (intFreq == '9' || intFreq == '6' || intFreq == '7' || intFreq == '8'){ var intraFreq = true }
if (intraTime && intraFreq != true){
form.freq.value = 7;
}
if (intraTime != true && intraFreq){
form.freq.value = 1;
}
var intRand = Math.floor(Math.random()*1000)
if (is.ie == true){
var charter = '/charts/int-adv.chart?siteid=mktw&';
var symb = form.symb.value;
var siteid = "mktw"
var time = form.time.value;
var freq = form.freq.value;
var startdate = '';
var enddate = '';
//var startdate = form.startdate.value;
//var enddate = form.enddate.value;
var compsymb = form.comp.value;
if( compsymb == "Enter Symbol(s):") {
compsymb = "" }
compsymb = compsymb.replace(/\ /g, "+");
compsymb = compsymb.replace(/\,/g, "+");
var compidx = form.compidx.value;
var ma = form.ma.value;
var maval = form.maval.value;
maval = maval.replace(/\ /g, ",");
//If intraday time is selected
if(intraTime){
var ufIntraday = new Number(form.uf.value);
if((ufIntraday >= 512 && ufIntraday <=7168) || ufIntraday == 0){
ufIntraday = 0;
form.uf.selectedIndex = 0;
ufIntraday = ufIntraday + 8192;
}
var uf= ufIntraday;
}else{
var uf = form.uf.value;
}
var type = form.type.value;
var size = form.size.value;
var lf = form.lf.value;
var lf2 = form.lf2.value;
var lf3 = form.lf3.value;
var compind = form.compind.value;
if (compind == 'aaaaa~0') {
compind = '';
} else {
compind = '+' + compind;
}
var style = form.optstyle.value
if (style == '') {
style = '1013'
}
} else if (is.ns == true) {
var siteid = "mktw"
var charter = '/charts/int-adv.chart?';
var symb = form.symb.value;
var time;
var freq;
if(form.time.value <= 0 || form.time.selectedIndex >= 0){
time = form.time[form.time.selectedIndex].value;
freq = form.freq[form.freq.selectedIndex].value;
}else
{
time = '';
freq = '';
}
var startdate = form.startdate.value;
var enddate = form.enddate.value;
if (!form.customdate.checked)
{
startdate = "";
enddate = "";
}
var compsymb = form.comp.value;
if( compsymb == "Enter Symbol(s):") {
compsymb = "" }
compsymb = compsymb.replace(/\ /g, "+");
compsymb = compsymb.replace(/\,/g, "+");
var compidx = form.compidx[form.compidx.selectedIndex].value;
var ma = form.ma[form.ma.selectedIndex].value;
var maval = form.maval.value;
maval = maval.replace(/\ /g, ",");
//If intraday time is selected
if(intraTime){
var ufIntraday = new Number(form.uf[form.uf.selectedIndex].value);
if((ufIntraday >= 512 && ufIntraday <=7168) || ufIntraday == 0){
ufIntraday = 0;
form.uf.selectedIndex = 0;
ufIntraday = ufIntraday + 8192;
}
var uf= ufIntraday;
}else{
var uf = form.uf[form.uf.selectedIndex].value;
}
var type = form.type[form.type.selectedIndex].value;
var size = form.size[form.size.selectedIndex].value;
var lf = form.lf[form.lf.selectedIndex].value;
var lf2 = form.lf2[form.lf2.selectedIndex].value;
var lf3 = form.lf3[form.lf3.selectedIndex].value;
var compind = form.compind[form.compind.selectedIndex].value;
if (compind == "aaaaa~0") {
compind = "";
} else {
compind = "+" + compind;
}
var style = form.optstyle[form.optstyle.selectedIndex].value
}
if (size == null){ size = '1'; }
var imgURL = charter + 'symb=' + symb + '&sid=515&time=' + time + '&freq=' + freq + '&startdate=' + startdate + '&enddate=' + enddate + '&comp=' + compsymb + compind + '&compidx=' + compidx + '&ma=' + ma + '&maval=' + maval + '&uf=' + uf + '&lf=' + lf + '&lf2=' + lf2 + '&lf3=' + lf3 + '&type=' + type + '&size=' + size + '&style=' + style + '&mocktick=1&rand=' + intRand + '&siteid=' + siteid;
//alert(imgURL);
//document.writeln(imgURL);
// doohicky for getitng netscape4 to take new chart url
var prevSize = 2;
if ((is.ns4 == true && (size != prevSize)) || (secondSymb.toLowerCase() != firstSymb.toLowerCase())){
form.submit()
}
else{
var newImg = new Image();
newImg.src = imgURL;
return newImg.src;
}
}
//-->
</script>
<body onLoad="javascript:InitAdvForm();" bgcolor="white" bottommargin=0 topmargin=0 leftmargin=0 rightmargin=0 marginheight=0 marginwidth=0><table width=100% cellpadding=0 cellspacing=0 border=0><tr bgcolor=black><td><table border=0><tr><td height=23 class=lb06 nowrap> <font color=#31cb7b>CBS.MARKETWATCH.COM</font> The Story Behind the Numbers</td><td><img src=http://i.mktw.net/images/icons/dots_login.gif height=23 width=1></td><td nowrap><span style="color: #ffdb7b;" class=lb03 > Hello, macmont! - <a href="/login/registration.asp?button=logout&siteID=mktw&dist=signout&returnURL=http%3A%2F%2Fcbs%2Emarketwatch%2Ecom%2Ft ools%2Fquotes%2Fintchart%2Easp%3Fsiteid%3Dmktw%26s ubmitted%3Dtrue%26intflavor%3Dadvanced%26symb%3Dfl ex%26origurl%3D%252Ftools%252Fquotes%252Fintchart% 2Easp%26time%3D2%26freq%3D6%26startdate%3D%26endda te%3D%26hiddenTrue%3D%26comp%3DEnter%2BSymbol%2528 s%2529%253A%26compidx%3Daaaaa%257E0%26compind%3Daa aaa%257E0%26uf%3D0%26ma%3D1%26maval%3D55%26lf%3D0% 26lf2%3D0%26lf3%3D0%26type%3D4%26size%3D2%26optsty le%3D330" class=lk10 style="color:#ffdb7b">Sign out</a> - <a href="/login/status.asp?siteID=mktw&returnURL=http%3A%2F%2Fcbs%2Emarketwatch%2Ecom%2Ft ools%2Fquotes%2Fintchart%2Easp%3Fsiteid%3Dmktw%26s ubmitted%3Dtrue%26intflavor%3Dadvanced%26symb%3Dfl ex%26origurl%3D%252Ftools%252Fquotes%252Fintchart% 2Easp%26time%3D2%26freq%3D6%26startdate%3D%26endda te%3D%26hiddenTrue%3D%26comp%3DEnter%2BSymbol%2528 s%2529%253A%26compidx%3Daaaaa%257E0%26compind%3Daa aaa%257E0%26uf%3D0%26ma%3D1%26maval%3D55%26lf%3D0% 26lf2%3D0%26lf3%3D0%26type%3D4%26size%3D2%26optsty le%3D330" class=lk10 style="color:#ffdb7b">Edit account</a></span></td></tr></table></td><td><table border = "0"><tr><td align = "right"><span class=lb06 style="color: #ffffff;">Nasdaq: <a href="/tools/quotes/quotes.asp?symb=mktw&siteID=mktw" class=lb06 style="color:#31cb7b">MKTW</a></span></td></tr></table></td></tr></table><table cellpadding=0 cellspacing=0 border=0><tr><td rowspan=5 width=297><a href=/news/default.asp?siteID=mktw><img src=/images/branding/MKTW/sc-hdr1.gif height=80 width=297 border=0></a></td><td colspan=4><img src=http://i.mktw.net/1.gif width=1 height=8></td></tr><tr><td rowspan=3 class=tb03 width=2><img src=http://i.mktw.net/1.gif width=2 height=1></td><td colspan=2 class=tb03 height=2><img src=http://i.mktw.net/1.gif width=1 height=1></td><td rowspan=3 class=tb03 width=2><img src=http://i.mktw.net/1.gif width=2 height=1></td></tr><tr><td nowrap colspan=2 height=60 class=tb03><div id=div468banner><A HREF="http://cbs.marketwatch.com/RealMedia/ads/click_lx.cgi/cbs.marketwatch.com/research/intchart.asp/6941/Adv/MarketWatch/HouseAds_Sky2_ALL_MW_03/hdf_468x60.gif/64343731613436313365343238346330" target="_top"><IMG SRC="http://a.mktw.net/MarketWatch/HouseAds_Sky2_ALL_MW_03/hdf_468x60.gif" WIDTH=468 HEIGHT=60 ALT="" BORDER="0"></A><A HREF="http://cbs.marketwatch.com/RealMedia/ads/click_lx.cgi/cbs.marketwatch.com/research/intchart.asp/17570/x06/MarketWatch/TIME_Midday_ADV/1_pixel.gif/64343731613436313365343238346330" target="_top"><IMG SRC="http://a.mktw.net/MarketWatch/TIME_Midday_ADV/1_pixel.gif" ALT="" BORDER="0"></A></div></td></tr><tr><td colspan=2 class=tb03 height=2><img src=http://i.mktw.net/1.gif width=1 height=1></td></tr><tr><td colspan=4 ><img src=http://i.mktw.net/1.gif width=1 height=8></td></tr></table><table width=100% cellpadding=0 cellspacing=0 border=0><tr class=tb08><td><img src=/images/branding/MKTW/btm-hdr.gif width=297 height=10></td></tr></table><map name="topmap"><area href="/news/default.asp?siteid=mktw" shape="rect" coords="0, 0, 152, 20"><area href="/pf/default.asp?siteid=mktw" shape="rect" coords="154, 0, 273, 20"><area href="/portfolio/default.asp?siteid=mktw&dist=Ptab" shape="rect" coords="274, 0, 373, 20"><area
<table width="100%" bgcolor=#c3d6d1 cellpadding="0" border=0 cellspacing=0>
<tr><td><img border=0 usemap="#topmap" src="http://i.mktw.net/images/nav/tab-it.gif" width=770 height=20></td></tr>
</table>
</script>
Mohandas
05-06-2003, 19:09
... completamente... :rolleyes:
ahahahhaa ! Com um esforçozito eu era capaz de lá ir.... mas não me apetece agora.
:D
Mohandas
05-06-2003, 20:31
... até porque tens dúvidas em relação ao comprimento, não é?
Compreendo-te. Isso abala qualquer um... :rolleyes:
vaaaaaaaaaaai... jantar, que eu tambem !
Mohandas
05-06-2003, 20:40
... mesmo com desilusões, o rapaz ainda tem apetite!
Acho que vais recuperar facilmente. Mais um mesito ou dois e já não te lembras disso. Até ires a um urinol público e a tentação te fizer olhar para o lado... Isso é que não deves fazer. NUNCA!
Aliás, a melhor maneira de resolveres o problema de uma vez por todas é torná-lo público.
Eu poupo-te o embaraço e encarrego-me, pessoalmente, de abrir um novo tópico, provavelmente em todos os fóruns, a expor o teu problema...
Não! Não precisas de agradecer... o que um tipo não faz pelos amigos, ahn? Ahn?
Esta bem, pronto. Eu depois deixo-te pagares um copo...
Uma garrafa?! Mas... não é preciso... pronto, pronto... já que insistes...
Vou tratar disso...
Um s%2529%253A%26compidx%3Daaaaa%257E0%26compind%3Daa , para ti também! :D
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.