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

Now here is the nicer version of the bands

 

Enjoy

 

yes, very nice Sparrow very good looking indicator... had been testing ccit3 and works ok as well...

 

So now I will get inspired and prepare the final template for this...

 

The nice edge we get on NT apart of this nice variations on the vma`s is the tick charts... can make timing very competitive... also nice for scalping on some volatile pairs like eur/jpy...

 

Thanks for this contributions Sparrow ¡¡ cheers Walter.

Share this post


Link to post
Share on other sites
Sparrow

 

will you please elaborate in the form:

 

signal vmar_2(ema_periods, adx_periods, stoch_periods);

and

rainbow base vmar_2(ema_periods, adx_periods, stoch_periods);

 

Unicorn.

 

Maybe I did not phrase my question clearly.

Please explain the quantities that the question marks refer to.:confused:

 

by the way,

;)"nice chart, what are the parameters of the adx_periods, the stoch_periods and the ema_periods?" ;) hehehe

 

cheers

Unicorn.

5aa70e186455d_ninja2.png.cc872f9497f24802def00d12950859ff.png

Share this post


Link to post
Share on other sites
Maybe I did not phrase my question clearly.

Please explain the quantities that the question marks refer to.:confused:

 

by the way,

;)"nice chart, what are the parameters of the adx_periods, the stoch_periods and the ema_periods?" ;) hehehe

 

cheers

Unicorn.

 

Difficult one except for the FantailVMA1: ADX:5, EMA:3, MA:2, Stoch:5

Usually the parameters are arragended alphabetically so i'd go with:

 

ADX:5, BandIncrement: 4, BandEMAMin:2, BandEMAMax:100, EMA:5, MA:2, Stoch:5

 

When I'm debugging I am usually not in the best mood, so take it easy on me.

 

Would have been easier to ask Walter.

Share this post


Link to post
Share on other sites

Great job Sparrow ¡¡

 

 

now the rainbow doesnt plot anything... maybe I am not using the correct inputs to it... no hurry on that Sparrow as I am also creating a rainbow out of the bands indicator... thanks so much for this ¡¡ cheers Walter.

Share this post


Link to post
Share on other sites

Could be that the rainbow has a bug, if so could you please go to the main control of NT

->Tools->Output Window

On the chart open the indicator list.

If you get a lot of stuff on the window, please send it to me.

 

If it's just a configuration thing, here's how it work, in the Plot's section of the indicator there are values like this:

 

Band01

Band01Color

Band02

.

.

.

.

.

 

It draws a band when at least a value in band01 and band02 is present, and band2 must be higher than band1.

Btw you can disable the price markers in the indicator configuration, if you're using lines to print the rainbow.

 

Maybe my explanation isn't necessary, posted it just in case.

 

You could also try to change the FillType to Line, which will less likely produce an error.

Share this post


Link to post
Share on other sites

Looks familiar walter, great that it works :D.

I hope the calculations are correct, which is the more important part.

 

Removing the price markers will make the chart even a bit better, easily done as described before.

 

Cheers

Share this post


Link to post
Share on other sites
Looking good there Walter, would you be able to put it onto a template?

 

Cheers

 

Blu-Ray

 

Flash ¡¡

 

 

attachment.php?attachmentid=3758&stc=1&d=1193960649

 

 

jejejje.... flash flash ¡¡

 

 

 

I will post a template when I get an argument arround this....

 

It stimulates pure net scalping.... thats what circulates on my veins ¡¡

 

Cheers from the on high dopamine Chimp... jejeje pure inspiration ¡¡

flash.thumb.png.a8c93e1373f53636788e048d63422399.png

Share this post


Link to post
Share on other sites
I will post a template when I get an argument arround this....

 

It stimulates pure net scalping.... thats what circulates on my veins ¡¡

 

Cheers from the on high dopamine Chimp... jejeje pure inspiration ¡¡

 

 

Cheers Walter, much appreciated, Nice work Sparrow and Unicorn :cool:

 

Just an observation, the candle formations are much clearer on the 11 tick compared to the 1 min chart.

 

 

Cheers

 

Blu-Ray

Share this post


Link to post
Share on other sites
Cheers Walter, much appreciated, Nice work Sparrow and Unicorn :cool:

 

Just an observation, the candle formations are much clearer on the 11 tick compared to the 1 min chart.

 

 

Cheers

 

Blu-Ray

 

 

well 11 tick is really a great edge for scalping.... on this chart its similar too the 55t on currency futures like Unicorns chart...

 

my ultimate wish eventually would be to have adxvma6 from Pyenner coded into NT... as I believe it has been the greatest masterpiece Bruce has developed so far... I imagine that line on a 11T chart here would be simply awesome...

 

Now what I see here its a scalpers haven... will probably need to start a new thread for what I see here... I dont want to mix aproaches... but its just great...

 

clean cristal clear charts... cheers Walter.

Share this post


Link to post
Share on other sites

Here's also my first attempt of the sniper fx cci, i dunno if it is correct, hope someone can verify it. I used someone else's T3, dunno how well the results match up.

Sparrow

The MT4 version of sniper malfunctions on live ticks.

Sniper ran into the 8 array limit that MT4 imposes so he used variables for e1 to e6 (I think thats it) when he should have used arrays e1 etc.

Without arrays it does bar by bar okay but does not handle life ticks.

I think he used a repaint loop to correct the bar data. The live tick problem showed up when I removed the repaint step.

I think if you use arrays for e1 etc as for normal emas, it should fix the live tick problem and remove the need to repaint the most recent bar.

I still need to get past the 8 array limit before I can fix it in MT4.

Good luck

Share this post


Link to post
Share on other sites
Sparrow

The MT4 version of sniper malfunctions on live ticks.

Sniper ran into the 8 array limit that MT4 imposes so he used variables for e1 to e6 (I think thats it) when he should have used arrays e1 etc.

Without arrays it does bar by bar okay but does not handle life ticks.

I think he used a repaint loop to correct the bar data. The live tick problem showed up when I removed the repaint step.

I think if you use arrays for e1 etc as for normal emas, it should fix the live tick problem and remove the need to repaint the most recent bar.

I still need to get past the 8 array limit before I can fix it in MT4.

Good luck

 

Tough nut to crack Bruce,

 

the NT code uses 7, funny the fxst3cci doesn't use EMAs on the es.

On NT some things are incredibly easy to do, you won't be burdened by many restriction. The language is more complex but also more powerful.

 

And sometimes I could just hit my head against the next wall:crap:, because something doesn't perform as expected, it's not all a piece of cake.

 

Hope you'll have a great idea and that code will work like a charm :D.

 

Cheers

Share this post


Link to post
Share on other sites

Hi Sparrow... there is one little glitch on the rainbow indi and also happens with the bands one, that may require eventually some consideration... when I load template again.. he doesnt remember the colors... kind of fancy glitch.. lines dont get ploted until you asign a color and fills look all gray...

 

sorry about that... apart from that glitch, everything is ok... cheers Walter.

Share this post


Link to post
Share on other sites

Hi guys (and the rare woman ),

 

Sorry, I wasn't aware of the problem, even coded an indicator some time ago that that has the same bug. Using colors in NT without lines/bars is very uncommon and it really takes some effort to get the colors saved.

Fortunately a guy at NT already did this before, otherwise it would have taken me days.

 

Hope everything is fine now, happy researching/trading.

VMABand_v1.3.zip

VMARainbow_v1.1.zip

Share this post


Link to post
Share on other sites

CCI_T3_1.mq4

This is a version of Sniper using arrays for e1 to e6 instead of variables.

It confirms that arrays should have been used for the emas although the difference will only show up on live ticks.

 

This left the MT4 version without enough arrays to show the histogram lines, so what you get instead is a rainbow sequence of lines showing how the cci input signal gets progressively smoothed and delayed by the emas.

 

If NT has only 7 arrays then it looks like some of the later emas might be omitted, freeing up enough arrays to allow use of histo bars, same goes for an MT4 version, but is a more leading version of Sniper needed as it will also have more noise?

 

Judge from the rainbow lines...

Black line is the regular Sniper output.

Red line is e1 input, yellow is e2 etc thru to black.

 

If Sniper is going to get ported to other platforms, it might be worth going for arrays to guarantee stability on ticks, but reducing the number of arrays so that the common platforms can all still do histo bars.

Sniper.thumb.PNG.557ce1a2ca51f0116e795d26699a4ec6.PNG

Share this post


Link to post
Share on other sites

Bruce, Congrats on solving the tough problems with the Sniper CCI.

I might have not phrased my NT stuff clearly, NT has an unlimited amount of arrays.

 

I did a 1:1 translation of Bruce's code of the ADXVMA to NT.

Things could be simplified using more NT indicators, Bruce should be much better at that.

 

Hope I got it right, have fun.

 

Cheers

ADXVMA_v1.0.zip

Share this post


Link to post
Share on other sites
Bruce, Congrats on solving the tough problems with the Sniper CCI.

Hope I got it right, have fun.

Looks like I didn't get it right...

Got the line sequence mixed up somehow.

So I will pull the attachment and have another go.

Back to the drawing board...

Cheers

Share this post


Link to post
Share on other sites

CCI_T3_2.mq4

This time..

I am trying to avoid having MT4 diseases passed on to other platforms.

Sniper ran out of arrays so he cheated and used variables for the T3 ema's.

Result was that it malfunctions on live ticks, so he used a repaint step to correct the bars, but not the ticks.

 

If Sniper is going to be ported to other platforms then it has to use arrays for the emas. But then MT4 is unable to do arrays plus histo bars.

 

One option is to do without histo bars on MT4.

This is the other option, drop e6 which is the slowest of the ema's.

Result is a bit more leading than sniper and a bit more noise.

But if b=0.4 is used (default is 0.618) then you get something close to sniper but with no MT4 foulups to be passed on to other platforms.

It also won't be exactly T3 anymore... so you don't exactly win.

 

Whatever goes down, I hope other platforms will stick to using arrays so that the tick problem does not spread beyond MT4.

 

Another option would be to leave the MT4 version of sniper as it is, with tick problems, but just make sure that other platforms do it properly with arrays.

 

So, this version has arrays, but with e6 deleted in order to have histo bars.

 

If other people see other options then now might be a time to sort it out.

 

Whatever

Cheers all.

CCI_T3_2.mq4

Share this post


Link to post
Share on other sites
Bruce

If you are thinking of moving over to Ninja Trader, the language looks very similar to MT4, so it might not be as much of this :bang head:

Cheers

Blu-Ray

Blu I have a foot in both camps now and you know :confused:

I like MT4 a lot but the diy indicator stuff seriously sucks and lack of English documentation is a major part of the problem.

 

There are some seriously good looking MT4 things coming out of Russia, like fast fourier transforms but again, no english versions, :confused::doh:

 

I seem to be the only twit trying to program in MT4.

I'm not a whiz bang programmer, just a hacker, slow poke whatever.

I could surely have used some company from someone who knew something about MT4. But I don't even know how many people even want to stick with MT4.

 

I do want to look at volume and volume based charts.

So that means either NT or excel. Bought excel to do analysis, havn't used it yet. Just got NT demo going, I think:confused: At least it has better documentation than MT4 at first glance.

 

I don't think Sparrow will need help from me, I'm too slow.

So, maybe I can take a holiday anyway.

I would be happy to see the bulk of the development being done on NT or whatever fills the need.

 

I lost a week chasing around for an answer to the array shortage, googling programs to see how to do subroutines etc basic stuff but where is it documented? Cant be repeating overheads like that. If it can't be done in MT4 in a realistic "competitive" fashion, then I'm inclined to vote with my feet and move to NT or excel.

Cheers.

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

    • 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
    • NFLX Netflix stock watch, local support and resistance areas at 838.12 and 880.5 at https://stockconsultant.com/?NFLX
    • Date: 8th April 2025.   Markets Rebound Cautiously as US-China Tariff Tensions Deepen     Global markets staged a tentative recovery on Tuesday following a wave of volatility sparked by escalating trade tensions between the United States and China. The Asia-Pacific region showed signs of stability after a chaotic start to the week—though some pockets remained under pressure. Taiwan’s Taiex dropped 4.4%, dragged lower by losses in tech heavyweight TSMC. The world’s largest chipmaker fell another 4% on Tuesday and has now slumped 13.5% since April 2, when US President Donald Trump first unveiled what he called ‘Liberation Day’ tariffs.   However, broader sentiment across the region turned more positive, with several markets rebounding sharply after Monday’s dramatic sell-offs. Japan’s Nikkei 225 surged over 6% in early trading, rebounding from an 18-month low. South Korea’s Kospi rose marginally, and Australia’s ASX 200 gained 1.9%, driven by strength in mining stocks. Hong Kong’s Hang Seng rose 1.6%, though still far from recovering from Monday’s 13.2% crash—its worst day since the 1997 Asian financial crisis. China’s Shanghai Composite added 0.9%.   In Europe, DAX and FTSE 100 are up more than 1% in opening trade. EU Commission President von der Leyen repeated yesterday that the EU had offered reciprocal zero tariffs on manufactured goods previously and continues to stand by that offer. Others are also trying again to talk to Trump to get some sort of agreement that limits the impact.   Much of the rally appeared to be driven by dip-buying, as well as hopes that the intensifying trade war could still be defused through negotiations.   China Strikes Back: ‘We Will Fight to the End’   Tensions reached a boiling point after Trump threatened to impose an additional 50% tariff on all Chinese imports unless Beijing rolled back its retaliatory measures by April 8. ‘If China does not withdraw its 34% increase above their already long-term trading abuses by tomorrow... the United States will impose additional tariffs on China of 50%,’ Trump declared on social media.   If implemented, the new tariffs would bring total US duties on Chinese goods to a staggering 124%, factoring in the existing 20%, the 34% recently announced, and the proposed 50%.   In response, China’s Ministry of Commerce issued a stern warning, stating: ‘The US threat to escalate tariffs is a mistake on top of a mistake... If the US insists on its own way, China will fight to the end.’ The ministry also called for equal and respectful dialogue, though signs of compromise on either side remain scarce.   Beijing acted quickly to contain a market fallout. State funds intervened to support equities, and the People’s Bank of China set the yuan fixing at its weakest level since September 2023 to boost export competitiveness. Additionally, five-year interest rate swaps in China fell to their lowest levels since 2020, indicating potential for further monetary easing.   Trump Talks Tough on EU Too   Trump’s hardline approach extended beyond China. Speaking at a press conference, he rejected the European Union’s offer to eliminate tariffs on cars and industrial goods, accusing the bloc of ‘being very bad to us.’ He insisted that Europe would need to source its energy from the US, claiming the US could ‘knock off $350 billion in one week.’   The EU, meanwhile, backed away from a proposed 50% retaliatory tariff on American whiskey, opting instead for 25% duties on selected US goods in response to Trump’s steel and aluminium tariffs.     Volatile Wall Street Adds to the Drama   Wall Street experienced wild swings on Monday as investors processed the rapidly evolving trade conflict. The S&P 500 briefly fell 4.7% before rebounding 3.4%, nearly erasing its losses in what could have been its biggest one-day jump in years—if it had held. The Dow Jones Industrial Average sank by as much as 1,700 points early in the day but later climbed nearly 900 points before closing 349 points lower, down 0.9%. The Nasdaq ended up 0.1%.   The brief rally was fueled by a false rumour that Trump was considering a 90-day pause on tariffs—rumours that the White House quickly labelled ‘fake news.’ The market's sharp reaction underscored how desperate investors are for any sign that tensions might ease.   Oil Markets in Focus: Goldman Sachs Revises Forecasts   Crude prices also reflected the uncertainty, with US crude briefly dipping below $60 per barrel for the first time since 2021. As of early Tuesday, Brent crude was trading at $64.72, while WTI hovered around $61.26.   Goldman Sachs, in a note dated April 7, lowered its average price forecasts for Brent and WTI through 2025 and 2026, citing mounting recession risks and the potential for higher-than-expected supply from OPEC+.       Under a base-case scenario where the US avoids a recession and tariffs are reduced significantly before the April 9 implementation date, Goldman sees Brent at $62 per barrel and WTI at $58 by December 2025. These figures fall further to $55 and $51, respectively, by the end of 2026. This outlook also assumes moderate output increases from eight OPEC+ countries, with incremental boosts of 130,000–140,000 barrels per day in June and July.   However, should the US slip into a typical recession and OPEC production aligns with the bank’s baseline assumptions, Brent could retreat to $58 by the end of this year and to $50 by December 2026.   In a more bearish scenario involving a global GDP slowdown and no change to OPEC+ output levels, Brent prices might fall to $54 by year-end and $45 by late 2026. The most extreme projection—based on a simultaneous economic downturn and a full reversal of OPEC+ production cuts—would see Brent plunge to below $40 per barrel by the end of 2026.   Goldman noted that oil prices could outperform forecasts significantly if there was a dramatic shift in tariff policy and a surprise in global demand recovery.   Cautious Optimism, But Warnings Persist   With both Washington and Beijing showing no signs of backing down, markets are likely to remain volatile in the days ahead. Investors now turn their attention to upcoming trade meetings and policy decisions, hoping for clarity in what has become one of the most unpredictable trading environments in recent years.   Always trade with strict risk management. Your capital is the single most important aspect of your trading business.   Please note that times displayed based on local time zone and are from time of writing this report. Click HERE to access the full HFM Economic calendar.   Want to learn to trade and analyse the markets? Join our webinars and get analysis and trading ideas combined with better understanding of how markets work. Click HERE to register for FREE!   Click HERE to READ more Market news.   Andria Pichidi HFMarkets   Disclaimer: This material is provided as a general marketing communication for information purposes only and does not constitute an independent investment research. Nothing in this communication contains, or should be considered as containing, an investment advice or an investment recommendation or a solicitation for the purpose of buying or selling of any financial instrument. All information provided is gathered from reputable sources and any information containing an indication of past performance is not a guarantee or reliable indicator of future performance. Users acknowledge that any investment in Leveraged Products is characterized by a certain degree of uncertainty and that any investment of this nature involves a high level of risk for which the users are solely responsible and liable. We assume no liability for any loss arising from any investment made based on the information provided in this communication. This communication must not be reproduced or further distributed without our prior written permission.
    • CVNA Carvana stock watch, rebound to 166.56 support area at https://stockconsultant.com/?CVNA
×
×
  • Create New...

Important Information

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