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

The Chimp`s "Forex Trades"

Recommended Posts

  sundowner said:
Hi PYenner and Walter,

 

If you wouldn't mind, indulge me one more time and have a quick look at these charts... then I'll let things go. The basic concept here is classic support and resistance. My information comes from Martin Pring.

 

PYenner, what I have tried to do here is to illustrate some pretty classic analysis working with your indicators on the 60 minute chart. My inexperience makes precise definition of s/r, let's say uncomfortable, yet I have seen prices respect these (past) levels time and time again.

 

My opinion is that fundamentally the market is driven by psychology as even the shakers and movers in this market are human beings and respond to defined markers.

 

What I am looking for is indicators that will define the turning points, and yours do quite well...the other thing I have difficulty with is the draw down.

 

Profitable or not, correct direction or not, it's hard to watch the market move against you as far as it can and still hold on if you're using real money.

 

At any rate, I appreciate you taking the time.

 

Regards gentlemen

 

 

S&R... yes... actually this analisis eventually gets automatically discounted on the vmar setups, as you most probably will take trades from very good competitive S&R levels... determining them its some times hard, any algorithm of S&R, be it pivots, fibos, MP levels etc, have 50/50 performance in terms of rejections... all of this levels nornally have two posible outputs : break or hold... so the levels are not so important as the capacity of anticipating a break or a hold... and thats where momentum readings (from my perspective) give you the edge on your trading, as it should give you the discernment on anticipating breaks or holds...

 

Now once you have a perception of momentum thru vmars, you clearly get good in anticipating breaks or holds from some good clear levels, whatever they be... so THE SKILL is "Momentum Discernment"... did you see the video series ?... cheers Walter.

Share this post


Link to post
Share on other sites
  unicorn said:
Hello Bruce;

I thought that you have transferred to Ninja Trader.

Have opened a Ninja account and an EFX account but have not taken on the learning curves with either. Significant programming efforts will probably get done in NT and only easy stuff done in MT4. I still use MT4 charts for trading and for my own currency based indicators which are what I have been working on for 9 months and am still working on because they are central to my trading but they are difficult to interpret still. Walters vma entry timing is now used for trading as well. I will still be using MT4 and doing basic programming jobs in MT4. I may start trading futures and I may switch to an ndd for forex but if either happens it will probably be next year.

  unicorn said:
I realize that cleaning up the code is not your priority, BUT please explain

1) why the _16, or _12 or _6 suffixes, I thought that they are minor fixes...

They were identical copies of vma6 with just ADX_Bars preset to the suffix value shown in the file name. Any one of those versions could be set to any value of ADX_Bars. We were experimenting with a fantail of vma lines at the time and that was the quick way to make up a bunch of lines to see what fast lines and slower lines had to offer. Walter used other values for ADX_bars in each of the versions he finally chose for trading, that was the intention from the beginning, keeping those options open without needing further programming at each step. The line colours could also be changed.

 

That group of vma6_nBar lines used..

double WeightDM=ADX_Bars, WeightDI=ADX_Bars, WeightDX=ADX_Bars, ChandeEMA=ADX_Bars;

So changing the ADX_Bars number also changed the smoothing.

The fancy stuff like VI squared was commented out in the code.

 

Yeah, there are too many threads and too many posts to find this stuff now.

On the 1min chart 6bar was used (and set to 6) and 4bar (but set to 3).

On the 5min chart 12bar was used (but set to 4 bars).

The 5min trend line used 16bar (but set to 40 bars).

It made sense at the time even if it seems nuts now.

  unicorn said:

2) why the _test3 ? what are you testing? what is the outcome? better, worse?

Test3 was the final test, it became adxvma6 (without the "testn").

  unicorn said:

3) what is the minor bug?

I repeatedly got confused over the stochastic loop counting and live bars versus historical bars and it still needs to be sorted.

The adxvma6 used...

if (Out>Out[i+1]){HHV=Out;LLV=Out[i+1];}

else {HHV=Out[i+1];LLV=Out;}

for(j=1;j<ADX_Bars;j++)

{

if(Out[i+j+1]>HHV)HHV=Out[i+j+1];

if(Out[i+j+1]<LLV)LLV=Out[i+j+1];

}

It was intended that the first comparison of two bars (one may be live) would be done before the loop and the loop would be used only for 3 bars or greater, but that isnt how it was working...

Should have used...

if (Out>Out[i+1]){HHV=Out;LLV=Out[i+1];}

else {HHV=Out[i+1];LLV=Out;}

for(j=1;j<ADX_Bars-1;j++)

{

if(Out[i+j+1]>HHV)HHV=Out[i+j+1];

if(Out[i+j+1]<LLV)LLV=Out[i+j+1];

}

 

What difference does it make?

When you ask for ADX_Bars=2, you get 2 ok.

But when you ask for 3 you get 4 instead.

And so on, ask for 4 get 5 etc.

With the adxvma6_nbar series this will mean using different numbers for adx_bars and also for ema smoothing on other platforms and there may be a further complication with the smoothing weights needing to be different (may need to use numbers other than whole integer values).

  unicorn said:
I have coded adxvma6 in Amibroker but the vma curves I get are not identical to what Walter has on the posted charts.

What I worry about is the following:

a) there might be a small bug that creates the difference ; small BUG - big disappointment!

b) I certainly do not want the good attributes of the adxvma6 to be due to a small bug; and I certainly hope that after the bug is fixed, the shape of the adxvma6(adxbars=6) will not be transformed and become less successful in indicating the horizontal effect and the laddering.

Fixing the bug made very little difference in the comparison I did but it was not a comprehensive comparison. The problems with matching ami version curves to mt4 version curves may arise if you used an internal ema function then my ema weights dont correspond exactly to the regular formula for weighting ema smoothing and slightly different numbers (eg 3.3 instead of 3.0) may be needed to match the curves. The hand coded version of the adx used in the mt4 version will also differ from an internal adx function in ami. The priority had always been to stay close to the VT adx version that Bemac used and that meant hand coding it across platforms. MT4 does not have a Wilders function and iMAon Array has "known issues" so the ema smoothing got hand coded as a result, the weighting formaula used may not be standard, again it made sense at the time. Frankenstein's workshop stuff.

Drives ya nuts doesn't it?

Cheers

Bruce

Share this post


Link to post
Share on other sites
  walterw said:
all of this levels nornally have two posible outputs : break or hold... so the levels are not so important as the capacity of anticipating a break or a hold... and thats where momentum readings (from my perspective) give you the edge on your trading, as it should give you the discernment on anticipating breaks or holds...

 

Now once you have a perception of momentum thru vmars, you clearly get good in anticipating breaks or holds from some good clear levels, whatever they be... so THE SKILL is "Momentum Discernment"....

Nicely said Walter, that is how I "feel" the final entry timing and quick stop out if it looks to be not developing normally, momentum discernmet...break or hold...

Share this post


Link to post
Share on other sites
  sundowner said:
Hi Unicorn,

 

To answer your questions:

 

Green ADXVMA6 Bar (6)

Red ADXMA4 (4)

The white line is a DECEMA 12, virtually identical to the HMA 9.

 

I was not at my computer at the time of the first indicated trade, and it was well on its way so I waited for the retracement, hoping to see a continuation of the trend.

 

Exit when decema (white) turns to cross red (4). I struggle with exits.

 

Hope that answers your questions.

 

Thank you sundowner, your answer is crystal clear.:thumbs up::thumbs up:

 

Is your entry

the red vma(4) crossing the green vma(6)

or

the white decema(12) crossing the red vma(4) ?

 

 

could you please post the mq4 code for the decema?

 

regards.

Unicorn.

Share this post


Link to post
Share on other sites
  PYenner said:
MT4 does not have a Wilders function and iMAon Array has "known issues" so the ema smoothing got hand coded as a result, the weighting formula used may not be standard, again it made sense at the time.

 

Hello Bruce;

 

wilders(value, wilders_periods) = ema(value, 2*wilders_periods -1);

 

hence

 

wilders(c, 3) is ema(c, 5)

 

wilders(c, 4) is ema(c, 7)

 

wilders(c, 5) is ema(c, 9)

 

wilders(c, 6) is ema(c, 11) etc.

 

Now, I mention this because you guys are missing intermediate settings; in the above cited examples from smoothing using ema of 5 periods your implementation jumps to 7, and then 9 and 11 ema periods.

 

Your programming the adx computation in order to have an additional smoothing (for a total of three smoothing operations as opposed to Wilder's two smoothing operations) may be lacking some effectiveness on account of using half the resolution because you move in ema_period steps of 2 i.e ema_periods = 5,7,9,11 as opposed to 4,5,6,7,8,9,10,11. I hope that my point is clear. Wilder did not mind that; then again he did not have any use for three smoothing operations; he was not scalping.

 

Bruce (and Sparrow) you can code the vma

 

vma[j] = (1 - f*f_adx) vma[j-1] + (f*f_adx) C[j] ;

where f = 2 / (ema_periods +1)

 

and f_adx is the stochastic_adx value.

 

in the stochastic adx smoothing operations you can use

 

smooth_x[j] = (1-g) * smooth_x[j-1] + g * x[j];

 

for the PDM, PDI, Out, etc.

 

Then adxvma(6) will correspond to the new implementation using

weightdm = weightdi = weightdx = 2*6 - 1 =11

stochastic_periods = 6 (the one called adx_bars) in the following code

 

for(j=1;j<ADX_Bars;j++)

{

if(Out[i+j+1]>HHV)HHV=Out[i+j+1];

if(Out[i+j+1]<LLV)LLV=Out[i+j+1];

}

 

and ema_periods = ChandeEMA = 11; the ChandeEMA variable in

MA=((ChandeEMA-VI)*MA[i+1]+VI*Close)/ChandeEMA;

 

 

Hope this helps in cleaning up the code. ;) ;)

 

cheers

Unicorn.

Share this post


Link to post
Share on other sites

Hi Walter, PYenner, Unicorn and sundouner.

 

Great interaction that you have here. It looks like a pretty game seen from the chairs of a stadium.

 

  walterw said:
Hi Unicorn, thats precisely what I am working right now... taking some decisions into wich is the better combination of indicators... so I am letting the sands settle down and once I get the most simple and optimized combo I will make it public on a new thread... my idea is going live with that defined combination and be consistent posting my live trades during a year at least...

 

So that thread will be diferent to the research threads as it will show something already defined and used on the live realm... it will be cool... cheers Walter.

 

Walter, already I am moved by this commentary, I will be waiting for this thread with anxieties....... I have some doubts as those that Unicorn mentioned...

 

 

  walterw said:
...even I am still not convinced of using NT as it has data problems... cheers Walter.

 

It is really a very important point... NinjaTrader has 3 forex sources of data and as I understand the confidence order of the data is: TradeStation, eSignal and the last could be data form Gain Capital. But to obtain any of them in order to work with live data as I understand we must pay for, or open a live account with TradeStation or Gain Capital...This condition make me think if it is better to compare NT with other chart packages like Amibroker, Ensign, or any other that have charts with ticks or seconds at least.

 

NinjaTrader has excellent capacities and also it allows to work with a different kind of markets, But I think it would be advisable to develop more this topic...

 

Regards.

 

 

Agustín

Share this post


Link to post
Share on other sites
  PYenner said:
MT4 does not have a Wilders function and iMAon Array has "known issues" so the ema smoothing got hand coded as a result, the weighting formula used may not be standard, again it made sense at the time.

Frankenstein's workshop stuff.

Drives ya nuts doesn't it?

 

Bruce; and Walter; and Sparrow:

 

Yes it does drive me nuts. Walter is putting in a lot of time. You have put in a lot of time. I have put in a lot of time. Now that Walter wants to come up with the final formulation, I believe that the tools that he and we will use must be in top shape. That's why I will help you clean the code. As a matter of fact I already did. The following code incorporates my suggestions for higher ema resolution.

 

The added benefit is that this code will run faster, as it by-passes the Wilder's divisions in the previous implementation. Divisions need more cpu time than multiplications.

 

// adxvma_U

// Unicorn's modification to adxvma6 computation 18-11-2007

 

factor1 = 2 / (dm_ema_periods +1); //default for adxvma(6) is dm_ema_periods=11;

factor2 = 2 / (di_ema_periods +1); //default for adxvma(6) is di_ema_periods=11;

factor3 = 2 / (dx_ema_periods +1); //default for adxvma(6) is dx_ema_periods=11;

alpha = 2 / (chande_ema_periods +1); //default for adxvma(6) is chande_ema_periods=11;

 

for(i=i; i>=0; i--) //Main loop begins after history bars filled.

{

PDM=0;

MDM=0;

if(Close>Close[i+1])PDM=Close-Close[i+1];//This array is not displayed.

else MDM=Close[i+1]-Close;//This array is not displayed.

 

PDM=((1-factor1)*PDM[i+1] + factor1 * PDM) ; // REAL ema.

MDM=((1-factor1)*MDM[i+1] + factor1 * MDM) ; //REAL ema.

 

TR=PDM+MDM;

 

if (TR>0) {PDI=PDM/TR; MDI=MDM/TR;} //Avoid division by zero. Minimum step size is one unnormalized price pip.

else {PDI=0; MDI=0;}

 

PDI=(( 1- factor2 )*PDI[i+1] + factor2 * PDI); // REAL ema.

MDI=(( 1- factor2 )*MDI[i+1] + factor2 * MDI); // REAL ema.

DI_Diff=PDI-MDI;

if (DI_Diff<0) DI_Diff= -DI_Diff;//Only positive momentum signals are used.

DI_Sum=PDI+MDI;

DI_Factor=0; //Zero case, DI_Diff will also be zero when DI_Sum is zero.

if (DI_Sum>0) Out=DI_Diff/DI_Sum; //Factional, near zero when PDM==MDM (horizonal), near 1 for laddering.

else Out=0;

 

Out=((1- factor3 )*Out[i+1] + factor3 * Out) ; // REAL ema.

 

if (Out>Out[i+1]){HHV=Out;LLV=Out[i+1];}

else {HHV=Out[i+1];LLV=Out;}

 

 

for(j=1;j<stochastic_periods;j++) // default for adxvma(6) is stochastic_periods=6;

{

if(Out[i+j+1]>HHV)HHV=Out[i+j+1];

if(Out[i+j+1]<LLV)LLV=Out[i+j+1];

}

 

 

diff = HHV - LLV; //Denominator of stochastics

VI=0;

if (diff>0) VI=(Out-LLV)/diff; //stochastic computation of modified adx.

 

 

MA=((1 - alpha * VI) * MA[i+1] + alpha * VI *Close ; //Chande VMA formula.

 

}

 

// ENJOY

 

ok guys. Try this modification and let me know.

 

 

NB. I don't run MT, so I have not compiled and tested on that platform.

 

Take care.

Unicorn.

 

and here are the modifications highlighted:

 

// adxvma_U

// Unicorn's modification to adxvma6 computation 18-11-2007

 

factor1 = 2 / (dm_ema_periods +1); //default for adxvma(6) is dm_ema_periods=11;

factor2 = 2 / (di_ema_periods +1); //default for adxvma(6) is di_ema_periods=11;

factor3 = 2 / (dx_ema_periods +1); //default for adxvma(6) is dx_ema_periods=11;

alpha = 2 / (chande_ema_periods +1); //default for adxvma(6) is chande_ema_periods=11;

 

for(i=i; i>=0; i--) //Main loop begins after history bars filled.

{

PDM=0;

MDM=0;

if(Close>Close[i+1])PDM=Close-Close[i+1];//This array is not displayed.

else MDM=Close[i+1]-Close;//This array is not displayed.

PDM=((1-factor1)*PDM[i+1] + factor1 * PDM) ; // REAL ema.

MDM=((1-factor1)*MDM[i+1] + factor1 * MDM) ; //REAL ema.

 

TR=PDM+MDM;

 

if (TR>0) {PDI=PDM/TR; MDI=MDM/TR;} //Avoid division by zero. Minimum step size is one unnormalized price pip.

else {PDI=0; MDI=0;}

PDI=(( 1- factor2 )*PDI[i+1] + factor2 * PDI); // REAL ema.

MDI=(( 1- factor2 )*MDI[i+1] + factor2 * MDI); // REAL ema.

DI_Diff=PDI-MDI;

if (DI_Diff<0) DI_Diff= -DI_Diff;//Only positive momentum signals are used.

DI_Sum=PDI+MDI;

DI_Factor=0; //Zero case, DI_Diff will also be zero when DI_Sum is zero.

if (DI_Sum>0) Out=DI_Diff/DI_Sum; //Factional, near zero when PDM==MDM (horizonal), near 1 for laddering.

else Out=0;

 

Out=((1- factor3 )*Out[i+1] + factor3 * Out) ; // REAL ema.

 

if (Out>Out[i+1]){HHV=Out;LLV=Out[i+1];}

else {HHV=Out[i+1];LLV=Out;}

 

 

for(j=1;j< stochastic_periods;j++) // default for adxvma(6) is stochastic_periods=6;

{

if(Out[i+j+1]>HHV)HHV=Out[i+j+1];

if(Out[i+j+1]<LLV)LLV=Out[i+j+1];

}

 

 

diff = HHV - LLV; //Denominator of stochastics

VI=0;

if (diff>0) VI=(Out-LLV)/diff; //stochastic computation of modified adx.

 

 

MA=((1 - alpha * VI) * MA[i+1] + alpha * VI *Close ; //Chande VMA formula.

 

}

Share this post


Link to post
Share on other sites

Hi Unicorn,

 

My entry is white crossing red or green depending on trade direction. I want to see price cross both and don't trade if there is too much travel between lines.

 

I am unable to determine trend fatigue and, as I said, struggle with exits using the vmas or chimp 2-1 turning, sometimes s/r. I'm hoping someone will come up with something better.

 

I will attach the mq4 file of the decema, but I have switched to using sma1.

 

Cheers

DECEMA_v1.mq4Fetching info...

eurjpy.thumb.gif.eaf503f8898bc77e449a3753ebd60d28.gif

Share this post


Link to post
Share on other sites
  sundowner said:

I will attach the mq4 file of the decema

 

Hello Sundowner

 

thanks for the code.

 

  sundowner said:

 

I am unable to determine trend fatigue and, as I said, struggle with exits using the vmas or chimp 2-1 turning, sometimes s/r. I'm hoping someone will come up with something better.

 

 

Walter is using BOP divergence to enter countertrend trades. You can use them to exit your trend trades. Study the info on the Futures Scalps thread.

I think it will work great, when there is a divergence and price crosses a trendline to confirm that actually the trend is over.

 

Give it a try and post a few charts.

 

cheers

Unicorn.

Share this post


Link to post
Share on other sites
  unicorn said:
Yes it does drive me nuts. Walter is putting in a lot of time. You have put in a lot of time. I have put in a lot of time. Now that Walter wants to come up with the final formulation, I believe that the tools that he and we will use must be in top shape. That's why I will help you clean the code. As a matter of fact I already did. The following code incorporates my suggestions for higher ema resolution.

 

The added benefit is that this code will run faster, as it by-passes the Wilder's divisions in the previous implementation. Divisions need more cpu time than multiplications.

Agree and thanks for sorting out the issues including using a sensible stochastic loop. Its a pity it was not done in a consistent portable way from the start.

 

It is only the human preference for whole numbers that restricts the resolution, the ema number is an unrestrictive double and is not confined to integer values. Portability is the benefit.

Thank you

Bruce

Share this post


Link to post
Share on other sites
  PYenner said:

 

It is only the human preference for whole numbers that restricts the resolution,

 

TRUE. Then again these whole numbers correspond to bars and it makes a lot more sense to our technical analysis background to say that we apply a 6 bar stochastic to a 10 bar or 11 bar ema smoothed modified adx and all this is used to compute a 10 or 11 or 12 ema_period vma.

 

  PYenner said:

the ema number is an unrestrictive double and is not confined to integer values.

 

Indeed. I just cannot clearly understand what a 3.5 bar ema is;

well, yes it is an ema faster than a 4 bar ema and slower than a 3 bar ema; ok this is as far as I will interpret it.

 

But I may also point out that the adxvma(6) sometimes is a 7.5 bar ema and other times a 10.3 bar ema. Fine.

 

Lets do it for portability's shake.

The likely benefit will be an insightful observation by someone reading this thread.

 

What is amazing is that very few folks post charts, as if they are not sure it's worth their time :shrug::shrug::hmmmm:; perhaps readers are wondering if we are using a bona fide vma, or waiting for Walter to say "this is the final setting for this trade setup".

OR they are using this method to trade profitably and they think that we are overdoing it with this analysis. :haha::haha:

 

cheers.

Unicorn.

Share this post


Link to post
Share on other sites

So far at this point after some testings I am more inclined to use mt4 ...

 

its true I dont have tick charts there but still its good for forex vmar trading and I never had any data issues there... cant go live tradimng on a platform that sometimes haves 2 or 3 hours of data gap (forex data) ... its not responsable, I am very glad with all the super indicators we got there,I know they will be usefull for lot of people, still data issues are not good... cheers Walter.

Share this post


Link to post
Share on other sites
  unicorn said:
The likely benefit will be an insightful observation by someone reading this thread.

What is amazing is that very few folks post charts, as if they are not sure it's worth their time :shrug::shrug::hmmmm:; perhaps readers are wondering if we are using a bona fide vma, or waiting for Walter to say "this is the final setting for this trade setup".

OR they are using this method to trade profitably and they think that we are overdoing it with this analysis.

The insights and the analysis are good, necessary.

Posting charts and a trading log is not realistic for me.

I am trading it profitably and that is one priority.

I run two other businesses and them and their customers are also priorities.

The timing of the tidy up is a lesser priority for me because it has to be, I have prior obligations to many others particularly over the xmas silly season.

Bruce

Share this post


Link to post
Share on other sites
  sundowner said:

 

If you wouldn't mind, indulge me one more time and have a quick look at these charts... then I'll let things go. The basic concept here is classic support and resistance. My information comes from Martin Pring.

 

 

Sundowner;

 

I see divergence (warning of trend change);

Then I see trendline break (confirmation of trend change) thus EXIT.

 

I think that Pring is a good source for divergence.

 

Take it easy.

Unicorn.

5aa70e2389ce3_audusddivergence.thumb.png.df5ecc8c460713abb0b3c923b9cbc965.png

Share this post


Link to post
Share on other sites
  unicorn said:

 

I see divergence (warning of trend change);

Then I see trendline break (confirmation of trend change) thus EXIT.

 

Sundowner;

 

And this chart has the equivalent of adxvma(6) and adxvma(2) that I presume that you follow.

 

Take it easy.

Unicorn.

5aa70e2393669_audusddivergence2.thumb.png.c6f046875a0be5ab0cf31ae0ec318b95.png

Share this post


Link to post
Share on other sites

Thanks for the input Unicorn, nice looking charts.

 

As you know I use metatrader, and if I understand correctly your divergence indicator does not translate. Trend line break ...very good idea.

 

Here's a trade I took this evening (Sunday about 6:00 pst)..if only they were all as stress free as this.

 

Thanks for your input this weekend guys. I appreciate it.

 

Have a nice week.

 

Regards

eurjpy1.thumb.gif.307d36e02d770298a8a6905c8f83b567.gif

Share this post


Link to post
Share on other sites
  sundowner said:

As you know I use metatrader, and if I understand correctly your divergence indicator does not translate.

 

Sundowner;

 

the BOP indicator can be ported just fine.

you can certainly type the code for BOP and have your own indicator.

 

 

cheers.

Unicorn.

Share this post


Link to post
Share on other sites
  sundowner said:
Thanks for the input Unicorn, nice looking charts.

 

As you know I use metatrader, and if I understand correctly your divergence indicator does not translate. Trend line break ...very good idea.

 

Here's a trade I took this evening (Sunday about 6:00 pst)..if only they were all as stress free as this.

 

Thanks for your input this weekend guys. I appreciate it.

 

Have a nice week.

 

Regards

 

 

  unicorn said:
Sundowner;

 

the BOP indicator can be ported just fine.

you can certainly type the code for BOP and have your own indicator.

 

 

cheers.

Unicorn.

 

Hi sundowner.

 

Do you have a subscription in the section elite of TSD forum? I asked there for someone that code the BOP indicator, and igorad did the indicator. I know that the code is very easy, but as I am not a coder I preferred that a coder make the indicators. The result is a good indicator because the igorad's version permit us to pre-smooth the indicator and to choose the kind of a moving average that we can use.

 

If you do not have the subscription, I would have to ask him to permit us the free use of that indicator.

 

Cheers.

 

Agustín

Share this post


Link to post
Share on other sites
  cattus said:
Hi sundowner.

 

Do you have a subscription in the section elite of TSD forum? I asked there for someone that code the BOP indicator, and igorad did the indicator. I know that the code is very easy, but as I am not a coder I preferred that a coder make the indicators. The result is a good indicator because the igorad's version permit us to pre-smooth the indicator and to choose the kind of a moving average that we can use.

 

If you do not have the subscription, I would have to ask him to permit us the free use of that indicator.

 

Cheers.

 

Agustín

 

This is an example of the BOP indicator for MT4...

5aa70e243868f_DivvsBOP.thumb.png.4a98bc6c6cc25cf485501317298a8e6f.png

Share this post


Link to post
Share on other sites
  cattus said:
This is an example of the BOP indicator for MT4...

 

 

Cattus, can you ask Igorad if you can share it with the TL gang ? he knows us, he did the very first vma code for us as well... cheers Walter.

Share this post


Link to post
Share on other sites
  walterw said:
Cattus, can you ask Igorad if you can share it with the TL gang ? he knows us, he did the very first vma code for us as well... cheers Walter.

 

Sure, Walter. Let me try...

 

Cheers.

Share this post


Link to post
Share on other sites

My pleasure to have you here with us Igorad ¡¡ and thanks once again for sharing your programing work... as you know, since you made the first vma translation from vt to mt4 we had been able to make great improvements on it thanks to Pyenner here at TL... so your first vma code was of great help to get this great process started ¡¡

 

Welcome to TL ¡¡ cheers Walter.

Share this post


Link to post
Share on other sites
  igorad said:
Hi,

 

Please try to test updated version of BoP with new value BOP_Mode:

0- original(Livshin's version)

1-advanced with a bit different formula:

 

BOP = (C - C[1])/(TrueHigh - TrueLow)

 

I think this formula should work more correctly(especially with gaps).

 

Regards,

Igor

 

 

Thanks again for your help, Igorad.

 

Cattus

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.