|
|
Search
You searched for the word(s): flag
Showing page 1 of 2 (84 total posts)
< 1 second(s)
-
MetaStock -> Tools -> Indicator Builder -> New
-> Copy and paste two formulae below.
Code:
===========================
Seasonal Profit % - May-Oct
===========================
---8<------------------------------------------
{ Seasonal Buy & Hold.
Long: May to Oct.
System Profit Long % - fixed trade size - v2.2
...
-
MetaStock exploration for system to detect flag and pennant patterns
Column A
Name: Price
Formula: C
Column B
Name: Pole Top
Formula:
zz:=Zig(C,17,%);
X:=BarsSince(ZZ < Ref(ZZ,-1)AND Ref(ZZ,-1) > Ref(ZZ,-2));
X1:=LastValue(X)+1;
c2:=Ref(HHV(C,(2+X1)),-1);C2
Column C
Name: Pole Bot
Formula:
zz:=Zig(C,17,%);
X:=BarsSince(ZZ ...
-
pyrri,
Welcome to the Forum. I hope you find the information in this peer-to-peer support network useful.
Although many of the people here have awesome in-depth knowledge of TA, it is not possible that everyone knows everything. Many people do not use flag patterns, and hence have no idea what your ''high and tight'' pattern is. I certainly ...
-
Wow !, FINISHED YOUR EXAMS NOW? , don´t tell me your are at the uni, or college. How old are you mate?. These americans are incredible =D> . When you are my age you will be a millionaire, things are different here in Europe, glad to see youngsters move fast.
Anyway, and being honest, I have no idea about how to read all that you posted, ...
-
Because I have finished my exams now !!! YAY !!! =D> :yahoo: :thumbup:
Here is my take on finding the change in the price in the last two calendar months of the chart...
--8<------------------------------
{Exploration}
{ColA - %}
theDay:=LastValue(DayOfMonth());
theMonth:=LastValue(Month());
theYear:=LastValue(Year());
{subtract two ...
-
Well it would take a lot of time to code the instructions as per http://mysite.verizon.net/resppzq7/htf.html and I am sure that it throw up a large number of false positives.
My recommendation, use your exisiting knowledge and the MS Users Manual and Equis Formula Primer to code the first criteria, 90% rise in two months. Put that in an ...
-
Have a look at this:
http://mysite.verizon.net/resppzq7/htf.html
One more thing about this pattern is that usually it forms after a flat base. I have included a few charts in which you can see this pattern.
http://stockcharts.com/h-sc/ui?s=STTK&p=D&yr=0&mn=7&dy=0&id=p58599055665 , started on the 21st Feb 2006 (after flat ...
-
Thanks for the quick reply Steve B.
I've done what you said, and copied and pasted it into the filter section of the exploration and clicked ok.
But it says ''No indicator names in the indicator builder contain this text.''
The insertion line is flicking on and off in the (''VFI'') which is on this line of code AND FVE>10 AND ...
-
Mr Ghost, if you are willing to post copyright material on the Net, please do not remove the copyright header. :evil:
The original and full MetaStock code is here:
http://www.metastocktools.com/MetaStock/SafeZone.txt
MetaStock -> Tools -> Indicator Builder -> New
Copy and paste formula ...
-
From MetaStockTools.com:
Combined Bollinger Band breakout signals & profit curve indicator
Plot this indicator three times on:
1) Price chart - with [4]BBands option;
2) Own window below price chart - [1] Clean signals option;
3) Own window below - [3] %Profit option.
This indicator uses a simplified version of the risk-normalized ...
-
Try this indicator code:
Code:
============================
Exit-related timed new entry
============================
---8<----------------------------------------
{ Ignores new entry signals with x periods of
last exit.
©Copyright 2004~2006 Jose Silva
For personal use only.
http://www.metastocktools.com }
{ ...
-
Joes have good trailing stop
Trailing Stop - ATR Chandelier Exit v2.0
pds:=Input(''ATR periods'',1,252,10);
pds1:=Input(''ATR lookback periods'',1,252,21);
multi:=Input(''ATR multiplier'',0,10,2.5);
plot:=Input(''plot: trailing stop=1, Long+Short=2, signals=3'',1,3,1);
adv:=Input(''plot: today's trailing stop=0, tomorrow's ...
-
jstaron:Hi,
I noticed AlphOmega buy/sell indicators seemed to be perfect [red flag]. A dozen buy signals were indeed followed by a dozen sell signals at a higher price [60 minute periodicy] However, when I went to buy a stock [the buy signal appeared] I noticed the stock was dropping. Waiting a minute or two later, I noticed the buy altert ...
-
Hi,
I noticed AlphOmega buy/sell indicators seemed to be perfect [red flag]. A dozen buy signals were indeed followed by a dozen sell signals at a higher price [60 minute periodicy] However, when I went to buy a stock [the buy signal appeared] I noticed the stock was dropping. Waiting a minute or two later, I noticed the buy altert disappeared! Is
-
I think I answered my own question, I'm curious if there is a simpler solution though
===============================
System trade signals - original
===============================
---8<--------------------------
{ Original trade signals code }
{ BarsSince() function prevents first exit plot}
{ With thanks to Roy Larsen at
...
-
wabbit:...the BarsSince problem.
...Same day signals.
The MS indicator code below takes care of both issues raised above:
MetaStock -> Tools -> Indicator Builder -> New ->
-> Copy and paste complete formulae between ''---8<---'' lines.
Code:
====================
System trade ...
-
Wouldn't the ''INIT OR xxx'' take care of that?
*CODE*
Buy:=Cross(RSI(14),30);Sell:=Cross(70,RSI(14));init:=Cum(IsDefined(Buy+Sell))=1;short:=BarsSince(init OR sell)<BarsSince(init OR buy);long:=BarsSince(init OR buy)<BarsSince(init OR sell);flag:=long-short;flag*(flag<>Ref(flag,-1));
*/CODE*
As ''-1'' and ''+1'' are used for ...
-
Jose -- Probably because you helped with the original -- but slightly different -- problem, last year... http://forum.equis.com/forums/thread/20340.aspx
Right now, it will miss the 1st signal if it is a SELL. I'd like it to work, no matter whether a SELL or BUY comes ...
-
CN, Jose, many thanks for your replies. In addition to the breakout from basing consolidations example I posted I foresaw other applications if it was possible to what I was hoping, so if anyone does know how to do this please don't hold back from posting. trying to keep this thread alive...............
I am wondering if this (very good) breakout
-
Jose -- Elegant simplification! If I read it right:
1. ''Init'' is true ONLY on the 1st valid entry OR exit, on-or-after the 50th data point.
2. ''Flag'' can only be 0 for exit ''season'', or 1 for entry ''season'', on-or-after either is valid, due to use of ''IsDefined'' through ''init.''
But, how to stay ...
-
RCM-
I think I'm confusing myself and you too... I'm only a novice code writer. What I had in mind was to plot a weekly close and calculate the ATR based on that. I suppose that it can be done in different ways, though. The ATR Chandelier Exit code above adds a bit of simplicity to it, but it still isn't simple. BTW, that code is not ...
-
this should now be the corrected formulas for the exploration
MetaStock exploration for system to detect flag and pennant patterns
Column A
Name: Price
Formula: C
Column B
Name: Pole Top
Formula:
zz:=Zig(C,17,%);
X:=BarsSince(ZZ < Ref(ZZ,-1)AND Ref(ZZ,-1) > Ref(ZZ,-2));
X1:=LastValue(X)+1;
c2:=Ref(HHV(C,(2+X1)),-1);C2
Column C
-
Henry,
That seemed to take care of it as I did not get any more errors but here is the whole thing in case you see anything else wrong with it:
MetaStock exploration for system to detect flag and pennant patterns
Column A
Name: Price
Formula: C
Column B
Name: Pole Top
Formula:
zz:=Zig(C,17,%);
X:=BarsSince(ZZ < Ref(ZZ,-1)AND Ref(ZZ,-1) >
-
May have answered my own question. Forgot the INIT for ''signal'':
*CODE*
Buy:=Cross(RSI(14),30);Sell:=Cross(70,RSI(14));init:=Cum(IsDefined(Buy+Sell))=1;flag:=ValueWhen(1,Buy-Sell<>0 OR init,Buy)*2-1;If(flag<>Ref(flag,-1),flag,0);
*/CODE*
Seems to display correctly.
-
Hi Kusal,Regarding your time frames, you shouldn't have any problem running a simultaneous mixture of time frames, ranging from tick charts up to 1, 5 minutes, days etc.I don't know if your going to build this PC yourself, so here's a few ideas to keep in mind. Looking at your specs I'd say that the DDR3 memory will definitely be ...
-
December 31, 1879
Edison demonstrates incandescent light
In the first public demonstration of his incandescent lightbulb, American inventor Thomas Alva Edison lights up a street in Menlo Park, New Jersey. The Pennsylvania Railroad Company ran special trains to Menlo Park on the day of the demonstration in response to public enthusiasm over the ...
-
July 24, 1911
Machu Picchu discovered
On July 24, 1911, American archeologist Hiram Bingham gets his first look at Machu Picchu, an ancient Inca settlement in Peru that is now one of the world's top tourist destinations.
Tucked away in the rocky countryside northwest of Cuzco, Machu Picchu is believed to have been a summer retreat for Inca ...
-
July 16, 1790
Congress declares Washington, D.C. new capital
On this day in 1790, the young American Congress declares that a swampy, humid, muddy and mosquito-infested site on the Potomac River between Maryland and Virginia will be the nation’s permanent capital. “Washington,” in the newly designated federal “District of Columbia,” was named ...
-
Interesting Stock Symbols from 1990
BABY
Fertility & Genetic Resources
BEAM
Summit Technology Incorporated
BLMP
Airship Intl. Ltd.
BLUD
Immucor Incorporated
BOOK
Village Green Bookstore Incorporated
BOOM
Explosive Fabricators Incorporated
BRAU
Pavichevich Brewing Corporation
BSBL
-
May 1, 1794
Shoemakers form union
The long and turbulent history of America's labor unions officially began on this day in 1794, as a group of shoemakers decided to join forces in the battle for wages and workplace amenities. The shoemakers, who consecrated their new brotherhood by gathering in Philadelphia, christened themselves the Federal ...
-
December 6, 1887
Cleveland fights tariffs
By the late 19th century, the nation was engulfed in a debate over tariffs. Indeed, projectionists, who heralded tariffs as a necessary measure to safeguard American goods, clashed with a growing portion of the public who felt that product protection was an unnecessary crutch for the nation's businesses. ...
-
Thanks Veritech for the definition. but however, not as easy to formulize as it looks. I do think John's is a very good effort towards that goal.
what I posted before about the flag & triangle, that should have read 'flagpole & triangle'. the flagpole being the approaching rise (how else are you going to get that ...
-
in general terms then, what would the ideal Rascke formation look like on chart? given that there are certain specifics re DI & MA, but other than that are we looking for a Flag & Triangle pattern? because this has proved quite valuable in the past, when it works (not all the time). Linda's way might be designed to remove ...
-
Raymond
There are several ways to check the date of the last bar of data. One method that I sometimes use samples the date of the last bar of an index or security that is known to be current. With that information it's easy to check each security in a test or exploration and flag those that do (or do not) have current data. With the code ...
-
I have the chart pattern recognition
Plugin, it is under my coffee cup right now. I read a couple of posts
here and other boards that said a few people had some success, so I
picked it up. I also have John Murphy's book on TA so I was hopeful,
but not immediately impressed with the standard settings. With ...
-
From what you've described, the RMO sounds like a blackbox system; that's enough to set off ''be careful'' alarms all by itself.I did watch the intro video you linked; interesting, but doesn't tell us anything about how it works. Additionally, searching Dogpile and Google have turned up nothing about RMO; another caution flag.Is the RMO ...
-
But as Jose has correctly pointed out, there is a disconnect between what you think you wanted and what you have coded!
You want : ''I am trying to flag when a bar crossed over moving average yesterday''
You coded: ''What you have coded is for the variable to have a value of 1 when the midband (which is the Pds EMA) crosses up through the ...
-
yes; you can make a custom dll to alert, though I don't know of any current code examples in the public domain. The easiest way to do what you are saying is to write an indicator that will flag your condition on the screen with a binary-type output. Alternatively, you could use a DDE link to Excel and set your alert condition there. In Excel, ...
-
From Roys Latches article that used to posted around here somewhere?.......
Roy:Latches
Using latches in MetaStock (or flags as I prefer to call them) is a simple and convenient way of remembering code conditions or events. This document is an attempt to explain the various constructions and uses of latches as they relate to ‘Trade equity’ and ...
-
Hi hayseed...
Yes, it plots a line from peak to peak (depending on the lookback period specified).
I am not combining the 2 into 1 because I use the last line as ''HiTL'' for an indicator in the indicator list to drop on the MACD() for a visual look.
A last line of Cross(A,HiTL)... I would like to run an exploration to find where the MACD() has ...
-
is that something bad with avator Hayseed? :evil: , :haha: , :D , I got a good day, Can you look on my previous post
http://forum.equis.com/viewtopic.php?p=9457#9457
I would like to know your opinion about that thinks
Thanks everyone for respond
ps: I would like to get a polish flag avator or something connect with poland... but whatever I ...
-
{Wabbits Flag Entry v2.02}
{concept by lcl}
{code by Wabbit}
shortPeriod:=40;{days}
consolPeriod:=17;{days}
retraceLimit:=38;{pct}
incLimit:=40;{pct}
x:=C;{data array}
y0:=ROC(x,shortperiod,%)>incLimit;
y0:=y0=1 AND Alert(y0=0,2);
y0*x; {red histogram}
y1:=If(PREV=0,y0,If(BarsSince(PREV=0)>consolPeriod,y0,PREV));
y2:=y1 AND Alert(y1=0,2);
-
the flag pattern is a sharp runup in price
over how long? days, weeks, months, years?
can you quantify the minimum change? $3, 50% ?
followed by a consolidation for 17+ days
consolidation? the price does not change? it only changes by an amount x?
17+, is that 17 - 522550 days so we find flags within the last millenium?
that does not retrace ...
-
Click on the Flag at the bottom of QuoteCenter. It should show the default country and vehicle class. If these are set to US ans Corporate Class(;), you do not have to enter this in QuoteCenter. Typing SPX or us;SPX will give the same thing. If you want a US Futures, with the same settings, you can enter @ES.1, for example, or us@ES.1 and get the ...
-
Hi Steve, Just to confirm, I have tried several times now, copied and pasted exactly what your last post stated (As I thought maybe the copy and paste might have left something in by mistake as it does happen sometimes) But still, no joy. Try it yourself mate as a new exploration with what you posted, It just isn't working. I think its either a ...
-
theghost:Can you put a post up with exactly what you have in the explorer, it's columns and it's filter. And what you have in the indicator builder in order for this to work also. And what they're named.
John,
Here is what I have:
ColA
C
ColB
zz:=Zig(C,17,%);
X:=BarsSince(ZZ < Ref(ZZ,-1)AND Ref(ZZ,-1) > Ref(ZZ,-2));
X1:=LastValue(X)+1;
-
Sorry Steve, I just had to try it before I went to bed, but it didnt work.
You mentioned this;
If you need FVE, here is the formula:
pds:=Input(''period for FVE'',1,80,22);
mf:=C-(H+L)/2+Typical()-Ref(Typical(),-1);
fve:=Sum(If(mf>0.3*C/100,+V,
If(mf<-0.3*C/100, -V,0)),pds)/Mov(V,pds,S)/pds*100;
fve
What do you mean by this mate? As ...
-
Here is the filter formula you will need:
ZZ:=Zig(C,17,%);
X:=BarsSince(ZZ < Ref(ZZ,-1) AND Ref(ZZ,-1) > Ref(ZZ,-2));
X1:=LastValue(X)+1; {flag ...
-
Thanks Wabbit,
You can have a look at this
http://www.womenswallstreet.com/stocks_news/ibd/ibd.aspx?aid=375
I will try to find a better description of it.
:roll: Pyrri
-
As a first step, run Downloader - Tools - Test to check all the files in your Metastock directory. It should flag problems with invalid data fields.
Also run a diskscan - Windows - Accessories - System tools - Disk Cleanup.
I also advise getting Systemsuite from V-Com/Avanquest to clean your disk and registry etc.
Then repeat ...
1
|
|