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

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
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.

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.

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").

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).

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
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
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
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.

 

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...

 

 

...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
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.mq4

eurjpy.thumb.gif.eaf503f8898bc77e449a3753ebd60d28.gif

Share this post


Link to post
Share on other sites

I will attach the mq4 file of the decema

 

Hello Sundowner

 

thanks for the code.

 

 

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
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

 

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.

 

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
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

 

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

 

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

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
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

 

 

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
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
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
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

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

BOP_v2.mq4

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
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

    • Date : 12th December 2019. Lagarde prepares ECB debut – 12th December 2019.   Policy unchanged Projections unlikely to change much Clues about review sought Style in focus Presiding over her first presser of the European Central Bank today, Lagarde is expected to confirm once again the current policy setting, giving time to ECB to focus on the planned review of its overall policy framework.Final Eurozone GDP and PMI readings broadly supported this neutral picture, while the confidence that a deep recession can be avoided is strengthening (Figure 1) despite the fact that German manufacturing and production numbers still look weak. The exports and the overall trade are actually holding up much better than expected, which together with still strong labour markets is underpinning hopes the net exports and consumption will continue to support growth not just in Germany.Figure 1 : December German ZEW investor confidence outcome, end the year firmly in positive territory at the highest level since February 2018.As there is nothing in the data really to challenge the ECB’s overall policy stance, the focus firstly turns into the tone and presentation style that President Lagarde will have. The “risk” is that the presser will be equally uneventful as her testimony before the European Parliament. Lagarde’s team building exercise seems to have worked and at least in public there has been a pretty consistent message since she took over, which is very likely to be confirmed today. Additionally it will be interesting to see whether she will back fully Draghi’s package.Citi Bank: All key interest rates will likely be left unchanged, and the forward guidance reaffirmed. The main interest at this meeting will be the new Eurosystem staff projections, extended to 2022, to gauge whether the September package will be sufficient to bring inflation back into line with the ECB’s target over the forecast horizon. If not, investors’ attention will quickly turn to the ECB’s toolbox and what instruments the Governing Council would be willing to use and when, in order to defend its credibility in the absence of large fiscal support. The upcoming strategic review of monetary policy will also likely be the focus of many questions.Hence as reported by Citi, other than Lagarde’s style, ECB projections could also monopolize the attention. Even though, the ECB remains ready to act again and tweak all its measures if necessary, it has already done a lot and now needs to keep an eye on the side effects of the very expansionary monetary policy, while politicians need to do their bit to support the economy.The central bank won’t be reducing the degree of stimulus any time soon with many analysts supporting that this will continue until mid-2020 unless there is a major change in circumstance.Central bankers will be conducting a comprehensive review of the policy framework, however, with a special focus on the inflation target. A more symmetric definition, which stresses that the ECB can see through lengthy inflation overshoots as well as periods of too low headline rates is likely to come in the first quarter of next year. The inclusion of owner-occupied housing costs into the HICP number also remains a challenge especially as house prices are rising rapidly in some centres, also thanks to the low interest rate environment.Bund yields have nudged higher over the past week, but the German 10-year so far failed to move lastingly above -0.3%. Uncertainty on trade and Brexit are keeping a lid on yields, although there is the risk that if things go the way markets want and a phase one trade deal is confirmed and in the UK PM Johnson gets his majority, there could be a sharp rise in yields, if markets price out further easing and start to look ahead to central banks removing some of the stimulus.However this is far away for now, while central bankers are not looking eager to add further easing.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 HotForex Economic calendar.Want to learn to trade and analyse the markets? Join our webinars and get analysis and trading ideas combined with better understanding on how markets work. Click HERE to register for FREE!Click HERE to READ more Market news. Andria Pichidi Market Analyst HotForex 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 FX and CFDs 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.
    • USDJPY Remains Biased To The Downside   USDJPY faces further price weakness despite its price hesitation on Tuesday. On the upside, resistance comes in at 109.00 level. Above this level will turn attention to the 109.50 level. Further out, we expect a possible move towards the 110.00 level on a break of that area, A cut through here will open the door for more gain towards the 110.50. On the downside, support lies at the 108.00 level where a break will target the 107.50 level. Below that level will turn focus to the 107.00 level and then lower towards the 106.50 level. On the whole, USDJPY faces further downside threats.        
    • Sterling Advances Barely Hours To UK Elections As Latest Poll Predicts Conservatives Win In just two days from now, a major event that will set the trend for the currency market for the year 2020, the UK elections will be held. In the face of a Brexit extension, UK prime minister had pushed for an earlier election in the hopes of having a majority conservatives win in the parliament which will make the Brexit deal pass through easily. As the clock ticks, with barely less than 48 hours to this epochal event, the newest poll by Survation conducted for ITV’s good morning Britain show predicts a Boris Johnson win by 14 pts. ahead of Jeremy Corbyn‘s Labour party. The Brexit deal seemed to give the conservatives an edge as it accounted for 32% of the vote decision while NHS gave Labour party a slight edge. On the overall, a majority vote of 42% was predicted for the conservatives while Labour had 28%. Market Reaction as the Clock Ticks Optimism looms in the market as the prediction of a conservatives win will ease Britain’s exit from Europe by January 31 deadline. The EUR/GBP pair continued to fall till the early hours of today breaking the 0.8411 trend line targeting the 0.8149 resistance level. GBP/USD pair rebounded to consolidate briefly targeting 1.3381 resistance levels. Technical analysis within a 4-hour MACD shows that both pairs may likely touch down. CAD edged slightly higher advanced by USMCA news but yet to consolidate gains. The USD against a basket of five major currencies held steady awaiting FOMC’s minutes due out tomorrow. Against a basket of currencies, NZD’s dominance is the highest. Sterling also gained momentum firmed up by approaching UK elections. The safe-haven, the Japanese yen, and Swiss franc remain pressured as major events that will shape the market for 2020 are been anticipated. On the Asia side, significant market activity wasn’t recorded as most currency pairs held steady within a day’s range. In the Asian stock market, not so much activity was recorded being weakened by recently released Chinese PMI numbers. Most of the indexes closed a little lower while US stocks rose swiftly after Friday’s release of US non-farm payroll reports. The outcome of the December 15 deadline set by the US for the signing of a preliminary trade pact will determine the week’s direction and even further into the year 2020. Also due out later in the week is UK GDP figures and ZEW released out of Germany.
    • Date : 11th December 2019. FOMC Preview – 11th December 2019. FOMC Preview No policy changes or surprises are expected with today’s announcement (19:00 GMT) and Chair Powell’s press conference 30 minutes later. It will be interesting to see if, as expected, the voting is unanimous this time round. The FOMC members have expressed significant differences of opinion during 2019 as three rate cuts were implemented.  The apparent paradox of low unemployment and low inflation, the new “norm”. The two-digit unemployment rate (U-3) in November edged down to 3.53% from 3.56% in October, and a 3.52% cycle-low in September, all below the 3.58% prior cycle-low in April and a 4.00% rate at the beginning of the year. Current readings remain much lower than the 4.2% long-run unemployment rate projection noted in the September SEP, it is expected that this estimate will be trimmed today. Headline CPI rose 0.4% in October while the core index rose by 0.2%, for respective y/y gains of 1.8% and 2.3%, versus September figures of 1.7% and 2.4%. Today the November headline is expected to fall again to 0.2% and the core remains flat at 0.2% too. The Fed’s favoured inflation gauge, the PCE chain price measure, rose 1.3% y/y in October and expectations are for an uptick to 1.4% in November. The core PCE chain price measure rose 1.6% y/y in November, versus 1.7% in September, and expectations are for the pace to hold at 1.6% in November. The FOMC’s latest median estimates for 2019 inflation are 1.5% for the headline and 1.8% for the core. Hence, the focus will be on the Fed’s new quarterly forecasts, with expectations raised and likely to be mostly bullish results with a bump up in the median growth projection and a drop in the median dot to reflect a steady stance through 2020. However, the individual dots are likely to show both, forecasts for cuts and hikes. Chair Powell is expected to reiterate the US economy and policy are in a “good place,” (a phrase he has used a number of times lately) and could sound a little more upbeat after the strong jobs report. But, he will continue to warn of downside risks. The FOMC isn’t likely to announce any new measures on reserve management operations (QE?) or a repo facility. All steady into 2020 and beyond. USDIndex remains biased to the down side but has support around 97.40 and the 200-day moving average. A breach of this key support zone brings in 97.00 and the October low of 96.85. A break over 97.80 (the confluence of the 20 and 50-day moving averages) and 98.00 would be required before a re-test of the recent high at 98.50 could be considered. 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 HotForex Economic calendar. Want to learn to trade and analyse the markets? Join our webinars and get analysis and trading ideas combined with better understanding on how markets work. Click HERE to register for FREE! Click HERE to READ more Market news. Stuart Cowell Head Market Analyst HotForex 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 FX and CFDs 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.
×
×
  • Create New...

Important Information

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