Jump to content

Cycles from metastock to mt4-mt5


Recommended Posts

Hi to everyone,

I would like to transfer some my formulas from metastock to metatrader 4-5.

Here it is the first:

 

NAME: CYCLE 32

 

Period:=16;

Velo1:= Mov(C,period,S);

Velo2:= C - Velo1;

Velo5:= Ref(Velo2,-period);

Velo6:= Velo2 - Velo5;

MMVelo:= Mov(Velo6,period/2,S);

MMVelo;

 

explanation:

period is the number of bar

C is the close

MOV is the moving average and S is simple

ref is the number of bar previous

 

in the new mt4-5 formula I would like have an input for the number of bar and for the color.

Can I put 2 cycles in the same windows?for example 32 and 64?

thank's in advance

Link to comment
Share on other sites

Hi Kkrishna,

it is very simple...I using it to see cycle of 32 minutes on a chart of 1 minutes

if you use it on a 15 m chart...you see cycle of 8 hours...

I use these formulas on metastock eod and rt....and if you are interested with I can upload some images.....

Can you help me for Demark's indi? see the post I have written now.....thank you

Edited by goffredomameli
Link to comment
Share on other sites

Another thing:

on all time frames I use a SMA 15 ...so...one of my tool is the distance of low-high from this SMA.

here it is:

 

DISTANCEHL15:=If(Mov(C,15,S)>H,-1*((Mov(C,15,S)-L)*100)/L,If(Mov(C,15,S)<L,((H-Mov(C,15,S))*100)/Mov(C,15,S),0));

TRENDLINE:=0;

DISTANCEHL15;

TRENDLINE;

 

explanation:if sma is above H,plot the distance from SMA and low

if sma is below L,plot the distance from H and SMA.

 

when the rubber band is too pulled....price comes back to the SMA...

 

thank's in advance for coding it into mt5!

Edited by goffredomameli
Link to comment
Share on other sites

  • 1 month later...
Guest FloridaTrader
I am still waiting for you.........

 

I think you misunderstood him. It sounds like his intentions were to use your indicator, not code it for you my friend. Shoot him a pm and see if he can assist you. It may just be a simple miscommunication here. Hope you can find someone to code it for you.

 

Good luck!

Edited by FloridaTrader
Link to comment
Share on other sites

I think you misunderstood him. It sounds like his intentions were to use your indicator, not code it for you my friend. Shoot him a pm and see if he can assist you. It may just be a simple miscommunication here. Hope you can find someone to code it for you.

 

Good luck!

 

ok...may be you are right.....

anyway....I am waiting for someone.....thank's!

Link to comment
Share on other sites

  • 1 month later...
Here you go!

 

http://www.4shared.com/file/D5HWEvrJ/Cycle-Goff.html

 

Carl

 

 

PS. You can drag multiple indi's to the same INDI window (not price chart) and change periods and colors.

 

 

Hi Carl

Thanks for cycle indicator :)

 

Please check this another cycle indicator found on net!

Is it possible to convert it for 'Chart Window' ?

 

Link : http://www.4shared.com/file/N_1GuVJa/half_spectrum_FIR.html

 

PS) Thanks for the fft thread you started in another forum! I am learning hard to understand it, though it is quite complex study!

 

Danny

Edited by Danny
Link to comment
Share on other sites

  • 2 weeks later...
Well,

cycle indicator named Goff was maden for me by ALTORONTO......so thank's to him!

Now....the pink indicator is HIGH-LOW ACTIVATOR...you find it on goggle for metastock or for metatrader......if you don't find them...ask me.

I have google it but can't find it for metastock. please post the code.

Link to comment
Share on other sites

here it is:

 

HLd:=If(CLOSE>Ref(Mov(H,3,S),-1),1,

If(CLOSE<Ref(Mov(L,3,S),-1),-1,0));

HLv:=ValueWhen(1,HLd<>0,HLd);

HiLo:=If(HLv=-1,Mov(H,3,S),Mov(L,3,S));

HiLo;

 

explanation:

when close is greater than SMA 3 High of previous day,indicator plots SMA 3 LOW

when close is lesser than SMA 3 LOW of previous day,indicator plots SMA 3 HIGH

 

very usefull also weekly and monthly HL Activator on daily chart

On forex tsd you find HLActivator multitimeframe for metatrader.

good trading

Link to comment
Share on other sites

  • 3 weeks later...
Here you go!

 

http://www.4shared.com/file/D5HWEvrJ/Cycle-Goff.html

 

Carl

 

PS. You can drag multiple indi's to the same INDI window (not price chart) and change periods and colors.

 

Hi Crodzilla,

please...can you add also velo6 (in my metastock formula in my previous post) to CYCLE-GOFF indicator?

I need inputs for TRUE-FALSE and color.

Thank's in advance

Goff

Link to comment
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.

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.

×
×
  • Create New...