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 : 23rd January 2020. How To Improve Your Trading Mindset 23rd January 2020.Our Head Market Analyst, Stuart, explains how to improve your Trading Mindset. Understand the importance of emotional control and discipline through an unmissable Q&A session.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.
    • Bitcoin: Upcoming Halving And What To Expect Bitcoin’s upcoming halving will be one of the most followed crypto-related occasions in the year 2020. Thousands of cryptocurrency enthusiasts will be observing the markets eagerly to witness what effect this year’s halving will have on the cryptocurrency. Many believe that the occasion would have a positive effect on BTC’s price as has been observed in the past. On the other hand, some are expecting the price to drop dramatically after the occasion. Whatever the result may be, it is apparent that this occasion will be a defining juncture for Bitcoin. In this review, we breakdown what the Bitcoin halving is all about, some effects of this occasion, historic occurrences, and what to anticipate from this year’s halving occurrence. Bitcoin was built on a system that mandates regular halving (also known as Halvenings) to sustain its value. The halvings are programmed to happen every 4 years. Already, Bitcoin has witnessed two halving processes, the first in 2012, and the other in 2016. The next halving process is scheduled for the 20th of May 2020. Bitcoin’s Value Preserving Strategy Bitcoin runs on a deflationary economic model which ensures that over time, lesser and lesser Bitcoin tokens will be created until finally, the creation of new Bitcoin tokens will end. BTC’s total supply is capped at 21 million, meaning that it is impossible to have more than that exact number of Bitcoin token in circulation at any point in time. It has been estimated that the very last Bitcoin token will be mined in the year 2140. Bitcoin’s deflationary model predisposes it to scarcity which increases in demand, thereby causing its value to increase as well. This model is different from traditional fiat which is based on an inflationary model, this means that banks can instruct for the printing of more banknotes at will. This is not an ideal practice per se as a boost in the volume of banknotes in circulation could result in the devaluation of that currency. Bitcoin’s “Block Reward” System New Bitcoin tokens are pumped into the market through a popular process known as cryptocurrency “mining”. Bitcoin miners get rewarded with a Bitcoin “block” allotment every time they successfully solve transactions. The blocks are allotted by the Bitcoin algorithm. The block rewarding process happens every ten minutes. So in fact, ten minutes from this moment, new Bitcoin tokens will be created. Mining is not an easy process. It requires a certain level of expertise, specific hardware, and a serious quantity of electricity. After the inception of Bitcoin, the first mining reward was fifty Bitcoin. This meant that every ten minutes, a Bitcoin miner received fifty Bitcoin tokens for solving transactions. That number has since been halved, twice, and is now at 12.5 Bitcoin token per block reward. By May this year, the halving will bring that figure down to 6.25 Bitcoin token per block reward. This feature has been pre-programmed into Bitcoin’s system. What This Could Mean for Mining Lesser block rewards are not the only reason Bitcoin is scarce. It has gotten significantly harder to mine Bitcoin and receive rewards. This is because mining is now more difficult as more miners are entering the system thereby increasing competition. Consequently, an increase in competition means miners require more sophisticated tools to solve cryptographic Algos. Over the years, miners have created what is known as “mining pools” to better handle the rising competition of mining. Mining pools are a network of miners, collectively working towards achieving block rewards. Block rewards in mining pools are distributed according to the percentage of effort put into earning a block. Improved Stock-To-Flow Ratio Halvings have several profitable impacts on Bitcoin. One such effect is that it boosts the Stock-To-Flow ratio of Bitcoin. A commodity’s STF ratio is calculated by dividing the quantity of the asset held in reserves, by the quantity manufactured in a year. The greater the STF ratio, the lesser the annual inflation on that asset. Commodities like gold possess a very impressive STF ratio as its available quantity is limited. Presently, Bitcoin has a significantly lesser STF ratio, unlike gold. Regardless, more halving occasions will boost the Bitcoin’s STF ratio. It is even believed that someday, Bitcoin will surpass gold in the STF ratio rating and will be an even better store of value. This is probably why Bitcoin is dubbed “digital gold”. After-Effects of Previous Halvenings 2012’s Halving The first Bitcoin halving happened on the 28th of November. On that day, the cryptocurrency recorded a 6.5% trade range. Regardless, to the surprise of many, the price remained at a consolidated state months after the occasion. This was partly because Bitcoin was still in its infancy and so, not many people were engaged with it. Also, media coverage at the time was not what it is today, which means many people were not informed of what was going on. Based on the information on Bitcoin’s BNC Liquid Index, the price of BTC attained a high of about $32 on the 8th of June 2011. The price of BTC never broke above the $32 mark until the 28th of February 2013 (4 months later), where price witnessed a climb to $260 after which a drop was experienced and the price stayed below that level for several months. Fast forward to the 30th of November 2013 (close to a year after the 2012 halving), Bitcoin rallied dramatically and peaked at $1,167, which was a whopping 9,686% increase from the initial price of $11 on halving. 2016’s Halving On the 9th of July 2016, the second halving, the price peaked at $664 but did not maintain that uptrend instead fell to $626 on the same day. Subsequently, the price continued on that downward trajectory for about three months. However, things started looking up for Bitcoin from the 27th of October 2016 when price closed above the previous halving’s high of $664. Bitcoin later proceeded to smash its last all-time high of $1,167 on the 23rd of February 2017. This spike started the famous bull rally of 2017 through 2018, which witnessed a peak at $20,000 sometime in December 2017. 2016’s halving shot Bitcoin’s price from $664 to $20,000 which was a growth of 2,912%. Possible Outcomes of this Year’s Halving? In the crypto sector, the Bitcoin halving is undoubtedly among the most talked-about and anticipated occasions of the year. Presently, there are mixed expectations as to what the outcome of the 2020 halving may be. Many in the crypto sector are very optimistic and believe that, just as in the past, the price will soar dramatically either before or after the occasion. Creator of Kraken, Jesse Powell expects the price of Bitcoin to rise close to $100k or 1 million after the halving. The CTO of Morgan Creek Digital Assets also shares the belief of Jesse and expects Bitcoin to reach the $100,000 mark by 2021. He says that scarcity is a driving force for the demand of any commodity. He explains that the 2020 halving will cause Bitcoin to be more scarce. Other crypto players believe that this year’s occasion will not have a similar trajectory with past occasions and would, instead, mar the price of Bitcoin. Another possible scenario that has been observed over time is the “buy and dump” case. This scenario usually plays out when there is a highly anticipated occurrence. It works exceptionally well when the upcoming occasion is sure to have a quantifiable effect on supply and demand dynamics. The price of the asset in question experiences a huge spike just days or a few weeks to the main event. This transpires because investors stock up on the asset towards the event. After the event, however, the price of the said asset drops significantly. This kind of activity has transpired frequently in the cryptocurrency space. One such occasion was the Bitcoin futures trading releases for the CBOE and CME. Just a few days to the CME’s release, the price of Bitcoin rallied from $6,400 and peaked close to its all-time high of $20,000 in a day. Not surprisingly, the price dropped considerably in the period that followed those releases. Furthermore, some cryptocurrency experts believe that the aftermath of the halving has already been priced in. It has been observed that demand is “missing” in the Bitcoin market, this could be a clear indication that the halving has been priced in. Usually, months before a halving, a boost in demand and price of Bitcoin is always noticeable. This time, however, no increase can be observed in neither of the stated areas. In this case, it could lead to a lateral trading period which might be a good thing for traders. At the moment, Bitcoin is still struggling to break above the $7,200 mark and there are no signs of a reversal happening soon. Whatever the result may be one thing is for sure, the price of Bitcoin is set to experience drastic changes this year.   Source: https://learn2.trade 
    • Your All-Round Guide To Security Token Offerings Security token offerings (STOs) are one of the most revered investment options in the crypto space at the moment. It has even been termed the “future of fundraising”. But what exactly are STOs and what is the rave all about? This article aims to break down STOs, what it is all about, and how it can be beneficial to you. What Exactly is a Security Token Offering? STOs, simply put, provide a means of tokenizing fungible financial assets such as stocks, bonds, and REITs, and introduces the tokens to the public through regulated channels. STOs are a lot like ICOs as they generally involve the same processes. However, the differentiating factor between STOs and ICOs is in the tokens being sold. With ICOs, the tokens are usually non-descriptive and could range from anything digital currencies to utility tokens. With STOs however, the token is a “security”, meaning that it is exchangeable and possesses a set monetary value. Breakdown of Security Tokens Security tokens function as digital versions of the assets they represent. Here’s a list of some popular security token representations: 1- Capital markets: Firms can convert their shares into tokens, allowing investors to own parts of the firm. In some cases, owners of tokens receive dividends and can execute votes on the affairs of the firm. 2- Equity funds: Equity funds can also tokenize their shares for sale. 3- Commodities: Commodities like gold, natural gas, coffee can be tokenized. 4- Real estate: The equity of this asset class can be tokenized, much like how REITs function. STOs do not change the underlying securities, instead, it makes these assets more readily accessible on a digital platform. Unlike other digital assets, security tokens can only be traded on certain regulated exchanges. Some exchanges require interested investors to meet some set qualifications. Advantages of STOs STOs are formulated with regulatory-compliance in mind, unlike ordinary token sales. Security tokens provide its owners with several legally binding rights. Some security tokens even bestow its owners with rights to dividends or other defined streams of income. Security tokens are also beneficial to their issuers. From the onset, the entities issuing the tokens are aware that their tokens are being purchased by accredited and verified investors and so, they don’t have to worry about the credibility of their investors. Other advantages of STOs include: 1- It is adequately regulated: Entities issuing security tokens must operate under the guidance of designated regulatory agencies in the region like SECs and FTCs. 2- You can rest assured that STOs won’t falter in the future: Unlike ICOs that cannot be guaranteed, STOs are sure to always deliver because it is properly regulated. 3- STOs offer great convenience: Procuring security tokens is easy, straightforward, and stress-free. All you need to do is to adhere to the STO requirement in your jurisdiction and you’re good to go. 4- It can be programmed: Security tokens are programmable and can be facilitated by smart contracts. 5- Automated dividend disbursement and voting: Some security tokens are structured to send dividends automatically through smart contracts. Also, some security tokens provide the bearer with exclusive voting rights in the affairs of the entity offering the tokens. 6- It is a globally accessible investment vehicle: Investors across the globe can procure security tokens regardless of their location. 7- It is not susceptible to manipulation: Considering the mode of operation STOs are run by, big players cannot manipulate its movements. 8- STOs are very liquid: It is a very promising investment option as it has an impressive liquidity quality and can be traded easily. With benefits like these, STOs are for sure transforming the fundamentals of the financial sphere. Disadvantages of STOs As with every other form of investment, security tokens has its limitations and shortcomings. Some of these limits are: 1- It is considerably more costly than utility tokens: STOs, unlike ICOs, hosts many organizations in their fundraising campaigns. Also, regulatory fees are not cheap which makes it more capital-intensive to host STOs. 2- Investor Qualifications: Countries like the US have certain qualifications an investor has to scale before becoming eligible to engage STOs. According to the SEC to be an “Accredited investor”, you must have an annual income rate of $200k and above or a minimum of $1 million in the bank. 3- Specific trading conditions: STOs can only be traded on certain designated exchanges. Also, these tokens are time-bound meaning that you are allowed to trade these tokens between investors for a set period after the STO. The Howey Test Usually, tokens are said to be securities, by law, when they pass certain thresholds. One such way to identify a security instrument is by applying the “Howey Test”. But first, let’s look at a piece of quick background information on how the Howey test came to be. In 1944, a citrus plantation called the Howey company of Florida leased out a large portion of its land to several investors in a bid to raise funds for much-needed developments. The buyers of the land were not skilled or versed in citrus farming in any way and decided instead to just be “speculators” and let the experts do their jobs. The lease was made on the premise that profits would be generated for the investors by the lessor. Not long after the business transaction the Howey company was sanctioned and accused by the United States SEC of failing to register the sale with the authority. The SEC maintained that the company was dealing with unregistered security. Howey denied the claims however, assuring that what it offered wasn’t a security. After much debate, the case ended up in the Supreme Court, which later ruled in favor of the SEC that Howey’s land leasing were undoubtedly securities. It remarked that investors were purchasing land mainly because they saw an opportunity to make a profit off the deal. Howey was then ordered to register the sale. This was the story of the enactment of the Howey test. Today, per the Howey test, anything is deemed to be a security if it satisfies the following criteria: 1- The investment included money. 2- The investment was made on an enterprise. 3- Profit will be made from the efforts of the providers of the investment. The Howey test has become a stronghold name in the crypto space. In 2017 and 2018 (during the “Heydey boom”), many ICO providers were completely consumed with scaling the Howey test as it was a major determinant used in ascertaining the legality of an ICO by the SEC. Failure to pass the test meant the offering was illegal and was sanctioned by the authorities. Some ICOs even advertised their tokens as investment instruments that had no value, describing their tokens as “utilities” used only for interactions on the platform. The Inception of STOs The very first STO was released by Blockchain Capital on the 10th of April 2017. The release pooled about $10 million in one day. Several STOs have been released following the first event including tZero, Sharespost, Aspen Coin, Quadrant Biosciences, and many more. STOs have since gained widespread acceptance and relevance in today’s market. Understanding the Distinction Between Security Tokens and Tokenized Security Confusing security token for tokenized securities is a common trap that people fall into. The main distinction between the two is that the former is usually a recently issued token that functions on a distributed ledger system while the latter is just a digital manifestation of pre-existing financial instruments. Apart from similarities in appearance and nomenclature, security tokens have absolutely nothing in common with tokenized securities. What Entities are Involved in an STO Issuance? Assuming a business entity plans on issuing security tokens as an embodiment of equity in its establishment, the next necessary step for that business would be to involve certain players and follow certain directives. It has to formally contact an issuance platform to serve as a medium for issuing the tokens. Popular issuance platforms include Polymath and Harbor, which consist of service providers like custodians, broker-dealers, and legal entities to carry out secure processes. Who Can Invest in STOs? STOs are available to the general public for the taking, regardless of location. However, as mentioned previously, the US has certain rules guiding STO investments. In the US, it is mandatory to be an “accredited investor” before you can invest in this instrument. An accredited investor is an individual with an annual cash flow of $200k and above for at least 2 years or a net worth of $1 million and above. More nations are starting to adopt the United States’ classification method and have begun restricting certain classes from investing in STOs. It is advisable to always research on the STO rules and regulations of the jurisdiction you’re planning on investing with. Final Word STOs provide businesses with the prospect of raising funds in an easy and regulated setting. It gives both investors and issuers a good deal of benefits, while also ensuring insurances against fraudulent or malicious practices, unlike ICOs. Issuers are not limited to any industry, they can vary from several sectors including real estate, VC firms, and small and medium enterprises. Moving forward, we will likely witness prominent firms venture into the STOs.   Source: https://learn2.trade 
    • PocketOption Broker - 50$ Binary Options No Deposit Bonus - https://1binaryoptions.eu/review/pocket-option/ USA, EU, & WorldWide Customers Welcome Daily 250$ Binary Options FREE ENTRY Trading Tournament
    • Good news is my posts no longer seem to need moderator approval! Beginning tomorrow, I will be day-trading two currency pairs: EUR/JPY and GBP/USD. I'll trade during the morning and afternoon hours, New York time.  I'll be using an Oanda "core pricing + commission" account. I plan to trade a "practice account" through the end of January, then a small "live" account beginning February. I've set my charts up to closely resemble the format popular in the RCRT thread (NinjaTrader + MetaTrader). My trading style will primarily consist of what I've learned from that thread. I'll track my performance in terms of R-multiples.  The purpose of this thread is just for a little fun with some bonus accountability. I've got nothing to sell/teach, and I will probably lose money! 😁
×
×
  • Create New...

Important Information

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