Good afternoon everyone.
I don't know how to program in MT. I'm looking to learn a little in order to program something I hope is quite simple to do. I am not looking for someone to do the work for me, but I would like to know if what I am trying is possible. The functional spec is as follows:
The indicator would have three input variables:
1. SPREAD (integer)
2. ENTRY (price)
3. STOPDIST (integer)
Based on those three inputs, I want the indicator to draw some standard MT4 horizontal dashed-lines on my selected chart. For instance:
Draw a red horizontal line at (ENTRY minus STOPDIST) and label it SL.
Draw a green horizontal line at (ENTRY plus STOPDIST) and label it R1.
Those 2 are just examples, and don't use the SPREAD variable. But, in short, I want to be able to calculate some internal values using those three basic inputs and then have MT4 draw and label different colour lines at that price on my chart.
I'm not looking to say "pls post all answers here pls" (as it always looks so damn cheeky!). But, if anyone could let me know if this is feasible I would be very grateful and then go looking how to try and do it!
Cheers,
Dave
I don't know how to program in MT. I'm looking to learn a little in order to program something I hope is quite simple to do. I am not looking for someone to do the work for me, but I would like to know if what I am trying is possible. The functional spec is as follows:
The indicator would have three input variables:
1. SPREAD (integer)
2. ENTRY (price)
3. STOPDIST (integer)
Based on those three inputs, I want the indicator to draw some standard MT4 horizontal dashed-lines on my selected chart. For instance:
Draw a red horizontal line at (ENTRY minus STOPDIST) and label it SL.
Draw a green horizontal line at (ENTRY plus STOPDIST) and label it R1.
Those 2 are just examples, and don't use the SPREAD variable. But, in short, I want to be able to calculate some internal values using those three basic inputs and then have MT4 draw and label different colour lines at that price on my chart.
I'm not looking to say "pls post all answers here pls" (as it always looks so damn cheeky!). But, if anyone could let me know if this is feasible I would be very grateful and then go looking how to try and do it!
Cheers,
Dave