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.

swakpixel

EL Help Needed

Recommended Posts

Hi There, I'm new to Traders Laboratory and a beginner to TS Easy Language. I appreciate any help and tips. I'm currently trying to write a strategy for MACD convergence divergence. Basically I want to look at the 5 bars prior to a cross down, choose the highest MACD value and the highest high and store those numbers somehow. Then compare those numbers to the previous time the MACD crossed down whose numbers have already been "stored".

I 'm pretty sure I can do the comparisons, I think I need to use a counter to reference the previous cross down, I think I need to declare values to store these numbers and I'm pretty sure I will need to use MRO to avoid the occasional cross up and cross down and cross back up every bar or two. Anyway, I'm way beyond my abilities of the EL boot camp and am willing to pay for a good EL consultant but I would really like to learn this as well.

Thanks much

Share this post


Link to post
Share on other sites
Hi There, I'm new to Traders Laboratory and a beginner to TS Easy Language. I appreciate any help and tips. I'm currently trying to write a strategy for MACD convergence divergence. Basically I want to look at the 5 bars prior to a cross down, choose the highest MACD value and the highest high and store those numbers somehow. Then compare those numbers to the previous time the MACD crossed down whose numbers have already been "stored".

I 'm pretty sure I can do the comparisons, I think I need to use a counter to reference the previous cross down, I think I need to declare values to store these numbers and I'm pretty sure I will need to use MRO to avoid the occasional cross up and cross down and cross back up every bar or two. Anyway, I'm way beyond my abilities of the EL boot camp and am willing to pay for a good EL consultant but I would really like to learn this as well.

Thanks much

There are plenty of EL specialist for hire. Look in the TS forum to start.

 

If you are interested in a macd strategy, perhaps the thread:

A Leading MACD !

https://www.tradestation.com/Discussions/Topic.aspx?Topic_ID=22670

Share this post


Link to post
Share on other sites

Stick with it and you should get there. Break it up into chunks - detect the cross, store values (you will need to store the new highs and shift the previous ones into a second set of variables). I don't think it is an EL issue but a how to approach the problem issue.

 

I am pretty sure (though may be mistaken) that there are already divergence indicators in the public domain. They will likely do what you require or at the very least you should learn a fair bit by studying them.

Share this post


Link to post
Share on other sites

if you make a USD$500 donation to this charity,

I can give you a hand.

 

Room to Read

Traders Laboratory & Room to Read Charity Program

 

****************************

 

Hi sir TAMS :ciao:

 

We give TAMS credit for his kindness + generosity.

 

He is an honour to this site

 

Have a nice sunny WE

 

aaa

 

************************************

Edited by aaa

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.


×
×
  • Create New...

Important Information

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