|
|
Search
You searched for the word(s):
Showing page 1 of 3 (138 total posts)
< 1 second(s)
-
LastCurrent:=if(LastValue(C)=C,1,0);
-
Uh, I have EOD and it works fine. It looks something like this:Security(''\MetaStock Data\Indices & Indicators\US & Canadian Indices\X.AMEX-A'',C);
-
Mike -- You probably want the SECURITY() function.Would have to see your spreadsheet -- or at least some of its equations -- to say more.
-
I'm trying to plot a simple moving average, centered properly. The following comes close:
Speed:= Input(''MA'',1,500,80);Displacement:=Speed/2;MA:=Mov(C,Speed,S);Ref(MA,Displacement);To do it properly, the period and displacement need to be an odd number, so I've coded an automatic adjustment:
Speed:= ...
-
Why doesn't Equis data in
Security(''\METASTOCK DATA\INDICES & INDICATORS\COMMON MARKET INDICATORS\X.NYSE-V'',V);
match (or at least come close to) what's on the NYSE data site
http://www.nyse.com/marketinfo/datalib/1022221393023.html
For example, today (17 Sep 07) Equis has 1,107,618,300 but NYSE reports 2,714,975,000
MarketWatch ...
-
Something for use with index charts and composite-type indicators, such as created w/the FIRE add-on:
Symb:=SecuritySymbol();
v1:=Security(''\METASTOCK DATA\INDICES & INDICATORS\COMMON MARKET INDICATORS\X.AMEX-V'',V);v2:=Security(''\METASTOCK DATA\INDICES & INDICATORS\COMMON MARKET INDICATORS\X.NASD-V'',V);v3:=Security(''\METASTOCK ...
-
How about a function which returns the symbol of the current security?
-
Don't see how Xtend.dll would help in my example -- if the RSI(14) is length 14, then how could you get a signal before bar 14?
Perhaps you could give an example of Xtend doing something that an IsDefined/Init variable cannot help with?
--Johnathan
P.S. I'm glad to know it's available, but FWIW a ''xtend.dll'' search on your ...
-
>>Plot your buy/sell signals, and see for yourself why you cannot remove Null bars using the >>IsDefined() function.
The following does not plot until bar 14:
*CODE*
RSI(14)
*/CODE*
While THIS will plot a zero from bar 1 to 14, then a a ''1'' from bar 15 ...
-
How does that Triple ROC work?
-
Jose,
Nothing seems to plot on a chart until there is enough data to calculate a formula.
So, if I understand correctly, then:
The ''Null Zone'' will ALWAYS precede, and NEVER follow the first valid calculation.
On any date with valid data, a calculation returning N/A will evaluate as ZERO in a ...
-
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 ...
-
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.
-
The following will tell me when a signal is in effect:
*CODE*
Buy:=Cross(RSI(14),30);Sell:=Cross(70,RSI(14));init:=Cum(IsDefined(Buy+Sell))=1;flag:=ValueWhen(1,Buy-Sell<>0,Buy)*2-1;flag;
*/CODE*
But, when I try to filter for redundant signals, the following is missing the 1st ...
-
When dropping an Indicator on a chart or doing an Exploration, I want to change a parameter based on whether the current security is .DJI, ,.IXIC, .SPX, etc., with a default if no match.
Do NOT need to know the folder, just the symbol.
-
Is there a way to determine a security's symbol inside a formula?
ie: x:=if(TheSymbol(''.DJI''),c,v);
-
Yes, but I don't see any way to change the default...
FWIW, I've played with a variety of color schemes over time, and have ended up using a chart background color of ''Grey-40'', which is easier on the eyes than ''blaring white'', lets me use lighter colors, yet still shows the darker colors adequately.
-
I just tried this using MS 9.x, and was able to change the properties by either a double-click on the 2nd security, or from a right-click menu.
-
I'm using MasterDataCSV to plot an forecast indicator calculated in Excel, and need to access the next day's reading from the CSV file.
However, Ref(x,+1) -- one day past the last date of the base security -- doesn't seem to work
Is there any way to do this?
-
-
Put this in the FILTER section of your Exploration:
V*7>Ref(V,-1);
I don't think you're going to find much.
-
Can anyone comment on their use of MACD weekly vs. daily, such whetherdifferent settings should be used, and why?
Thanks,
-
If you delete all existing Smart Charts, then any time you open a symbol, the default template will be used. I merely caution you that if you have any Smart Chart you want to keep, save it as a ''regular'' chart, with the *.MWC extension, before deleting it as a Smart Chart.
All Smart Charts are kept in a sub-folder of the data folder in ...
-
1. Make that template the default. Either rename it as DEFAULT.MWT or open a chart which used it, then right-click the chart and left-click on ''Save as default template.''
2. That template will now be used for all NEW Smart Charts. If you don't care about any existing Smart Charts, then just delete them all; look in your ...
-
Hmmm. Something seems amiss. WHY does the 3*ATR stop hit performance so hard?
If you'd like another viewpoint, using US data, drop me an email (JohnathanStein@yahoo.com) w/ the exploration. I'm curious enough to run the TS Monte Carlo on a couple of datasets (components of SP500, DJ30, Nasdaq 100).
-
Well, there's one thing you can do: If you are SURE you want to replace ALL your SmartCharts with DEFAULT.MWT as your standard analysis chart/tool, you can just delete them all with a batch command file (*.BAT).
Create the following batch file in the US Stocks directory:
DUMP.BATecho offrd /s/q ''A - B''\mssmartrd /s/q ''C - ...
-
The System Tester will always bring up the ''SmartChart'' for that symbol. If you've added something to the Smart Chart, make sure you've saved it before plotting from System Tester results.
If you have another ''Custom Chart'' with that symbol open (*.MWC), System Test will ignore it, and still call up the Smart Chart. You can ...
-
Have you tried a ''Copy & Paste'' from The Downloader?
-
Never saw a reference to ''*.SYM'' files before -- what are they used for?
-
That's too bad -- though it DOES demonstrate why one should stay away from ''black boxes''.
-
Anybody know if any of the forum software problems are being worked on?
-
Joe,
You may be able to use ''FmlVar''. In the Exploration Editor, once the cursor is active, click on the FUNCTIONS... button. Select ''Custom Indicators'' in the left box, then scroll down on the right until you find the multiple entries for ''Exit Swing Signal.'' The ''FmlVar'' function will be inserted when you ...
-
VM -- Where is that page? I'd like to see if the Channels bug(s) have been fixed |