Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

walterw

Playing with the VMAR`s open research

Recommended Posts

 

Midas is an amazing concept, getting rid of the time variable altogether and using volume in its place.

When I can get my head around it, I think that will answer some difficult questions for me that are all about reading the market. Could be very powerful if understood and exploited properly, you have a good eye for this stuff.

 

 

jejeje... yes Bruce, its certainly a Hidden Gem ¡¡ at least Paul Levine left that very nice educational material wich creates a very nice base to start from...

 

Now remeber to use hat man ... jejeejje... cheers Walter.

Share this post


Link to post
Share on other sites
Just saw them and wanted to try to help this great thread. I have been following it from day one. Hats off to you guys this work is amazing!

 

HS

 

 

Thanks a lot HS ¡¡ its nice to see this good will from you... cheers Walter.

Share this post


Link to post
Share on other sites

Walter

Question time.

I have only found eld vwap files and they are encripted so I cant read them.

Need an idea about what user settings are needed especially for starting or restarting at what(?) location.

 

eg Looks like jperl was using a 51 bar setting on 2min chart for volume distribution history so I assume vwap used the same setting, so if we use 1min chart, that means start on current bar and read previous 102 bars (2hrs) of data.

 

Alternative is to have a user setting for "start x bars back from current bar"

and sample "y bars of history".

 

What controls do you need to get the thing to start/restart on a pivot point or time or price or back/forward x bars, what???

Share this post


Link to post
Share on other sites

 

Alternative is to have a user setting for "start x bars back from current bar"

and sample "y bars of history".

 

What controls do you need to get the thing to start/restart on a pivot point or time or price or back/forward x bars, what???

 

we could input date and time could we ?

 

PYenner

 

I'll send you a PM with the code of the ELD.

 

Hope this helps

 

Blu-Ray

 

I will apreciate that Blu...

 

 

I am smelling Midas here Bruce ? jejej cheers Walter.

Share this post


Link to post
Share on other sites

Blu-Ray

Thanks heaps.

 

Walter

The three platforms I run here use three different midnights, none is est.

Even the two that are close to GMT differ by an hour.

One seems to have different "midnights" for each pair, arghhh*#.

This is the United Nations here...

 

Date and time might be the best.

People will have to work out their own time offsets somehow if they want to use a common "midnight" or any other "time".

 

There is a hazard here with the way MT4 remembers your last settings, may have to find a way around it or... you go on holiday for a week, come back, start MT4 and it takes 2 hours to start because it is running 200 SDs per bar on a weeks worth of bars on every chart you left vmar running on, bit of a time bomb especially on 1min charts, we will see.

 

Yes Midas is calling me too.

Vwap looks like the "time diluted" version of Midas.

Excel may be needed for midas, got it but don't know how to use it yet.

Some Chimp is keeping me busy...

 

There is a possible problem with forex volume, the gap data, in between the bars. I do not know if the bar data includes the volume data from the gap. I only know the bar data does not include the price data from the gap ticks. I need to find the answer before I start using volume big time.

 

MT4 does not have crash protection against division by zero, it locks the computer, you have to reboot then your default template is corrupt and it doesn't even know what charts or indis you were running, uses the next best template it can find, big mess. Gunna have to be extra thoughtful with this stuff. Taking a simple approach could have nasty consequences.

Share this post


Link to post
Share on other sites

Well dont go nuts Bruce... its clear that mt4 has its limitations... I dont want to distract you too much on this... you know we have more than enough good arsenal to trade fine at this point... you see if its worth it the time and work... thanks for your great disposition Bruce ¡¡ cheers Walter.

Share this post


Link to post
Share on other sites

Walter

I am strongly suspicious of statistics for predicting the future.

I have seen many times how support can become resistance but that does not mean that statistics had anything to do with it.

It will lose my confidence completely once it gets much past 2SD's.

Relying on 3 SDs to tell you anything reliable is unrealistic to anyone who understands SDs, but how many do?

 

It does look to have big plusses, that justifies it.

But I am fearful of encouraging misplaced trust in things that are not understood well enough by most people that they know when not to trust them.

Share this post


Link to post
Share on other sites

Just to add something else into the mix ;), I've coded up the ADXVMA6 into a CCi.

 

Don't know if it will have any benefit, but you can play around with it, to see if you find it useful.

 

I've coded it up for TS and MT4 ( Don't hold your breath on the MT4 version :shocked:) as it's the first one I've got to work.

 

Test it and see..................

 

 

Cheers

 

Blu-Ray

ADXVMA6_CCI.ELD

ADXVMA6_CCi.mq4

Share this post


Link to post
Share on other sites
Just to add something else into the mix ;), I've coded up the ADXVMA6 into a CCi.

 

Don't know if it will have any benefit, but you can play around with it, to see if you find it useful.

 

I've coded it up for TS and MT4 ( Don't hold your breath on the MT4 version :shocked:) as it's the first one I've got to work.

 

Test it and see..................

 

 

Cheers

 

Blu-Ray

 

Oh My Lord ¡¡¡ I had been expecting this indicator a good time ago ¡¡

 

I will test him Blu... tell you how he does, specially on ploting issues... thanks man ¡¡

 

what a team we got here ¡¡ now we also have Sparrow who started to program our indis for Ninjatrader platform ¡¡

 

The chimp is so happy that he is dancing ¡¡

 

 

 

cheers The Chimp.

Share this post


Link to post
Share on other sites
Oh My Lord ¡¡¡ I had been expecting this indicator a good time ago ¡¡

 

I will test him Blu... tell you how he does, specially on ploting issues... thanks man ¡¡

 

what a team we got here ¡¡ now we also have Sparrow who started to program our indis for Ninjatrader platform ¡¡

 

The chimp is so happy that he is dancing ¡¡

 

cheers The Chimp.

 

 

hehe, another great video

Share this post


Link to post
Share on other sites

Hi Bruce... I need some help here...

 

Unicorn has coded his version of vma`s... actually I had been interacting with him on this thread here http://www.traderslaboratory.com/forums/24/walter-s-forex-vma-trend-scalps-2558-7.html arround some of his charts... they look very nice and I finded some interesting nuances to his particular charts...

 

he has been kind enough to share his code with us wich was done for amibroker charting platform...

 

could we code this for mt4 as well ? please dont go bald ¡¡ cheers Walter.

Share this post


Link to post
Share on other sites

what a team we got here ¡¡ now we also have Sparrow who started to program our indis for Ninjatrader platform ¡¡ The chimp is so happy that he is dancing ¡¡

cheers The Chimp.

 

 

Just an FYI...the Ninjatrader platform has a great dom (The same one I use with TransActFutures). It lets you place bracket orders, target and stops all with one click. You can also drag and drop your targets and stops. Great control. Thanks Sparrow....Armand

 

 

superdomx.jpg.30c99cd1463c3cfc6b5647dc231d312b.jpg

Share this post


Link to post
Share on other sites

Vidya3.mq4

This vidya was ported from the VT version by Amritend Maji (Maji).

The settings were for 5min chart.

Seemed to get the thumbs up for matching VT charts.

Chande invented this too, but there are variations around and uncertainty about which are true to Chande.

 

xpMA_v2.mq4

Universal xpMA by Codersguru.

Change MA_Type to get:

 

0 Simple moving average,

1 Exponential moving average,

2 Smoothed moving average,

3 Linear weighted moving average.

4 Double Exponential Moving Average.

5 Triple Exponential Moving Average.

6 T3 Moving Average.

7 Jurik Moving Average.

Vidya3.mq4

xpMA_v2.mq4

Share this post


Link to post
Share on other sites

PYenner: the xpMA 4 and 5 settings are actually the other way around if you look at the implementation

 

Here's my first NT verison of unicorn's adaption of the FantailVMA1.

Hopefully someone can test it and tell me if it works fine.

 

Cheers

Share this post


Link to post
Share on other sites
PYenner: the xpMA 4 and 5 settings are actually the other way around if you look at the implementation

Sparrow

Thank you, it looks like you are right but I'm not going to mess with it for now. Users of xpMA be warned.

 

Sparrow, if you are also familiar with T3 this might be a simple question for you, if not just ignore it because I'm being lazy and looking for a quick fix.

I suspect that T3 was intended to use a sequence of ema's but a version I am looking at has used a variable where an array should have been used if ema's were the intended result. The difference is that arrays will work fine on both bars and ticks, but a variable will malfunction on live ticks.

This is what the code using variables looks like and cci is supposed to end up holding a T3 version of a cci input signal. Would e1, e2 etc make more sense...? W1 and W2 weightings are ema type weightings eg (n-1) and n.

 

for(int i = Bars - 1; i >= 0; i--)

{

cci = iCCI(NULL, 0, CCI_Period, PRICE_TYPICAL, i);

e1 = w1*cci + w2*e1;

e2 = w1*e1 + w2*e2;

e3 = w1*e2 + w2*e3;

e4 = w1*e3 + w2*e4;

e5 = w1*e4 + w2*e5;

e6 = w1*e5 + w2*e6;

cci = c1*e6 + c2*e5 + c3*e4 + c4*e3;

 

I am new to just about everything so I will lean on an experienced shoulder if I can. Don't bust a gut on it, just answer if its obvious to you.

Cheers

Lazy PYenner

Share this post


Link to post
Share on other sites

PYenner, my knowledge of how indicators work internally is very limited and my adv. maths skills are lacking unfortunately.

I have a programming backgroung and just got into indicator development but I am a quick learner.

 

I might have an idea though because I am facing a similar problem at the moment.

My guess is that the value for the previous bar is stored in the variable.

If it's calculated on the close of the bar its value is correct but if you use every tick then it will represent the value of the last tick and not the ema value of the last bar.

 

Hope it makes sense.

 

Cheers

Share this post


Link to post
Share on other sites

Glad to help Bruce, unfortunately I'll have to patch some of my indicators although I personally seldomly use the intra bar feature.

 

Here's the NT version of the FantailVMA1 modified with unicorn's code again.

Share this post


Link to post
Share on other sites

Chande invented this too, but there are variations around and uncertainty about which are true to Chande.

 

Hello Bruce, Sparrow, Walter;

 

Chande has introduced the concept of varying the coefficient of the exponential moving average, f= 2/(n+1), by multiplying this coefficient by a volatility measure or by a trendiness measure, f_chande:

 

factor = f * f_chande;

 

vidya = Variable Index DYnamic Average, is the adaptive moving average (AMA) of the price, usually the Close.

 

vidya = AMA( price, factor);

which as you know is:

vidya = factor * price + (1-factor) * previous_value(vidya)

 

In his book, Chande uses among other measures the absolute value of the Chande Momentum oscillator (CMO), abs_cmo

 

cmo(n) = 2*rsi(n) -0.5; re-scaling of rsi in the range (-0.5, 0.5)

abs_cmo = abs(cmo);

 

factor = f * abs_cmo;

vidya = ama (C, factor);

So, this is the original formulation of Chande Vidya (to be precise, the original formulation that uses one of the 3 volatility / trendiness measures cited in the book).

 

now, abs(cmo) is very close to adx; as a matter of fact, Chande claims that it is superior to adx.

 

From this point, using stochastic_adx = stoch (adx (adx_periods), stoch_periods) is a very smart and natural evolution. :thumbs up::thumbs up::thumbs up:

I don't know who came up with this idea; I first saw it in Walter's reference of Bemac's fantail. THANK YOU Walter.

 

Hope this clarifies things.

 

Now, for the purposes of this vmar research, I had initially restrained stoch_periods to be equal to adx_periods, in order to reduce the number of combinations. After Walter's interest in the behaviour of the signal vma_1(3,3) with respect to the rainbow_base vma_1(4,8) I figured that he might need the option to adjust stoch_periods, so that he can look into different settings.

 

cheers

Unicorn.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Topics

  • Posts

    • My wife Robin just wanted some groceries.   Simple enough.   She parked the car for fifteen minutes, and returned to find a huge scratch on the side.   Someone keyed her car.   To be clear, this isn’t just any car.   It’s a Cybertruck—Elon Musk's stainless-steel spaceship on wheels. She bought it back in 2021, before Musk became everyone's favorite villain or savior.   Someone saw it parked in a grocery lot and felt compelled to carve their hatred directly into the metal.   That's what happens when you stand out.   Nobody keys a beige minivan.   When you're polarizing, you're impossible to ignore. But the irony is: the more attention something has, the harder it is to find the truth about it.   What’s Elon Musk really thinking? What are his plans? What will happen with DOGE? Is he deserving of all of this adoration and hate? Hard to say.   Ideas work the same way.   Take tariffs, for example.   Tariffs have become the Cybertrucks of economic policy. People either love them or hate them. Even if they don’t understand what they are and how they work. (Most don’t.)   That’s why, in my latest podcast (link below), I wanted to explore the “in-between” truth about tariffs.   And like Cybertrucks, I guess my thoughts on tariffs are polarizing.   Greg Gutfield mentioned me on Fox News. Harvard professors hate me now. (I wonder if they also key Cybertrucks?)   But before I show you what I think about tariffs… I have to mention something.   We’re Headed to Austin, Texas This weekend, my team and I are headed to Austin. By now, you should probably know why.   Yes, SXSW is happening. But my team and I are doing something I think is even better.   We’re putting on a FREE event on “Tech’s Turning Point.”   AI, quantum, biotech, crypto, and more—it’s all on the table.   Just now, we posted a special webpage with the agenda.   Click here to check it out and add it to your calendar.   The Truth About Tariffs People love to panic about tariffs causing inflation.   They wave around the ghost of the Smoot-Hawley Tariff from the Great Depression like it’s Exhibit A proving tariffs equal economic collapse.   But let me pop this myth:   Tariffs don’t cause inflation. And no, I'm not crazy (despite what angry professors from Harvard or Stanford might tweet at me).   Here's the deal.   Inflation isn’t when just a couple of things become pricier. It’s when your entire shopping basket—eggs, shirts, Netflix subscriptions, bananas, everything—starts costing more because your money’s worth less.   Inflation means your dollars aren’t stretching as far as they used to.   Take the 1800s.   For nearly a century, 97% of America’s revenue came from tariffs. Income tax? Didn’t exist. And guess what inflation was? Basically zero. Maybe 1% a year.   The economy was booming, and tariffs funded nearly everything. So, why do people suddenly think tariffs cause inflation today?   Tariffs are taxes on imports, yes, but prices are set by supply and demand—not tariffs.   Let me give you a simple example.   Imagine fancy potato chips from Canada cost $10, and a 20% tariff pushes that to $12. Everyone panics—prices rose! Inflation!   Nope.   If I only have $100 to spend and the price of my favorite chips goes up, I either stop buying chips or I buy, say, fewer newspapers.   If everyone stops buying newspapers because they’re overspending on chips, newspapers lower their prices or go out of business.   Overall spending stays the same, and inflation doesn’t budge.   Three quick scenarios:   We buy pricier chips, but fewer other things: Inflation unchanged. Manufacturers shift to the U.S. to avoid tariffs: Inflation unchanged (and more jobs here). We stop buying fancy chips: Prices drop again. Inflation? Still unchanged. The only thing that actually causes inflation is printing money.   Between 2020 and 2022 alone, 40% of all money ever created in history appeared overnight.   That’s why inflation shot up afterward—not because of tariffs.   Back to tariffs today.   Still No Inflation Unlike the infamous Smoot-Hawley blanket tariff (imagine Oprah handing out tariffs: "You get a tariff, and you get a tariff!"), today's tariffs are strategic.   Trump slapped tariffs on chips from Taiwan because we shouldn’t rely on a single foreign supplier for vital tech components—especially if that supplier might get invaded.   Now Taiwan Semiconductor is investing $100 billion in American manufacturing.   Strategic win, no inflation.   Then there’s Canada and Mexico—our friendly neighbors with weirdly huge tariffs on things like milk and butter (299% tariff on butter—really, Canada?).   Trump’s not blanketing everything with tariffs; he’s pressuring trade partners to lower theirs.   If they do, everybody wins. If they don’t, well, then we have a strategic trade chess game—but still no inflation.   In short, tariffs are about strategy, security, and fairness—not inflation.   Yes, blanket tariffs from the Great Depression era were dumb. Obviously. Today's targeted tariffs? Smart.   Listen to the whole podcast to hear why I think this.   And by the way, if you see a Cybertruck, don’t key it. Robin doesn’t care about your politics; she just likes her weird truck.   Maybe read a good book, relax, and leave cars alone.   (And yes, nobody keys Volkswagens, even though they were basically created by Hitler. Strange world we live in.) Source: https://altucherconfidential.com/posts/the-truth-about-tariffs-busting-the-inflation-myth    Profits from free accurate cryptos signals: https://www.predictmag.com/       
    • No, not if you are comparing apples to apples. What we call “poor” is obviously a pretty high bar but if you’re talking about like a total homeless shambling skexie in like San Fran then, no. The U.S.A. in not particularly kind to you. It is not an abuse so much as it is a sad relatively minor consequence of our optimism and industriousness.   What you consider rich changes with circumstances obviously. If you are genuinely poor in the U.S.A., you experience a quirky hodgepodge of unhelpful and/or abstract extreme lavishnesses while also being alienated from your social support network. It’s about the same as being a refugee. For a fraction of the ‘kindness’ available to you in non bio-available form, you could have simply stayed closer to your people and been MUCH better off.   It’s just a quirk of how we run the place and our values; we are more worried about interfering with people’s liberty and natural inclination to do for themselves than we are about no bums left behind. It is a slightly hurtful position and we know it; we are just scared to death of socialism cancer and we’re willing to put our money where our mouth is.   So, if you’re a bum; you got 5G, the ER will spend like $1,000,000 on you over a hangnail but then kick you out as soon as you’re “stabilized”, the logistics are surpremely efficient, you have total unchecked freedom of speech, real-estate, motels, and jobs are all natural healthy markets in perfect competition, you got compulsory three ‘R’’s, your military owns the sky, sea, space, night, information-space, and has the best hairdos, you can fill out paper and get all the stuff up to and including a Ph.D. Pretty much everything a very generous, eager, flawless go-getter with five minutes to spare would think you might need.   It’s worse. Our whole society is competitive and we do NOT value or make any kumbaya exception. The last kumbaya types we had werr the Shakers and they literally went extinct. Pueblo peoples are still around but they kind of don’t count since they were here before us. So basically, if you’re poor in the U.S.A., you are automatically a loser and a deadbeat too. You will be treated as such by anybody not specifically either paid to deal with you or shysters selling bejesus, Amway, and drugs. Plus, it ain’t safe out there. Not everybody uses muhfreedoms to lift their truck, people be thugging and bums are very vulnerable here. The history of a large mobile workforce means nobody has a village to go home to. Source: https://askdaddy.quora.com/Are-the-poor-people-in-the-United-States-the-richest-poor-people-in-the-world-6   Profits from free accurate cryptos signals: https://www.predictmag.com/ 
    • TDUP ThredUp stock, watch for a top of range breakout above 2.94 at https://stockconsultant.com/?TDUP
    • TDUP ThredUp stock, watch for a top of range breakout above 2.94 at https://stockconsultant.com/?TDUP
    • TDUP ThredUp stock, watch for a top of range breakout above 2.94 at https://stockconsultant.com/?TDUP
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.