Jump to content

Req: A script


Recommended Posts

Hi folks. I have a request. I like to trade baskets and I have scripts to buy and sell them.

 

I have a pretty good strategy using H4 and baskets that involve trendline/channels that I think a particular script idea would work well.

 

I would like either:

 

A: a script that I can drag to a chart and it will create a trend line in which I can enter the name in the setting of another script that i want to execute when the price touches the trend line.

 

or

 

B: I can draw trend lines using normal methods and then rename them to whatever script I want to execute when it is touched by the price and then just drag over the script that will make that happen.

 

Can this be done? Thanks!

Link to comment
Share on other sites

you can't call a script with mql

but there are already EAs that are working with (trend)lines

try google

one of them is something like OrdereaLine...could be from forex-tsd

don't know whether it's only working with horizontal lines or trendlines also

The code of your basket script would have to built into the EA

Edited by iwjw
Link to comment
Share on other sites

Ok thanks. i didn't know that. That will make this endeavor interesting.

 

you can't call a script with mql

but there are already EAs that are working with (trend)lines

try google

one of them is something like OrdereaLine...could be from forex-tsd

don't know whether it's only working with horizontal lines or trendlines also

The code of your basket script would have to built into the EA

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