How to turn an Indicator into a Signal [SOLVED]
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: How to turn an Indicator into a Signal
That depends on the indicator you want 'translated' into a signal. Since each indicator has different code, there is not such as thing as 'an indicator'. What indicator did you have in mind?
Also, if you want to translate an indicator into a signal, you'll need to specify certain trading rules based on the indicator (such as "buy when .. " and "sell when ... ").
Also, if you want to translate an indicator into a signal, you'll need to specify certain trading rules based on the indicator (such as "buy when .. " and "sell when ... ").
Re: How to turn an Indicator into a Signal
Thank you Josh
I am creating a customised Indicator that will look for "conditions:" that are produced in other indicators before producing a chart "signal" such as a text of "Buy" or "Sell" etc.
I thought I need to have a "Signal" version of my indicator to produce the onchart "text" message?
I am creating a customised Indicator that will look for "conditions:" that are produced in other indicators before producing a chart "signal" such as a text of "Buy" or "Sell" etc.
I thought I need to have a "Signal" version of my indicator to produce the onchart "text" message?
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: How to turn an Indicator into a Signal [SOLVED]
In that case you can replace the indicator's code in the signal with statements to enter or exit a position. For example, if you have this in the indicator:I am creating a customised Indicator that will look for "conditions:" that are produced in other indicators before producing a chart "signal" such as a text of "Buy" or "Sell" etc.
Code: Select all
Variables:
textBoxID(0);
if (condition1 and condition2) then begin
textBoxID = Text_New_s(Date, Time_s, Low - (High - Low), "buy here");
end;
Code: Select all
Variables:
posSize(0);
if (condition1 and condition2) then begin
Buy ("EL") posSize contracts next bar at market;
end;
You can also make a text message on the chart with a text box, but a signal would be more convenient and also allows for backtesting / trade generation in real-time.I thought I need to have a "Signal" version of my indicator to produce the onchart "text" message?
Re: How to turn an Indicator into a Signal
Hi Josh
this is exactly what I needed to understand thank you very much. All I need now is to find an affordable coder to help me with the indicator code.. so I guess I need to post a new forum query for that. I am new to using the forum.
this is exactly what I needed to understand thank you very much. All I need now is to find an affordable coder to help me with the indicator code.. so I guess I need to post a new forum query for that. I am new to using the forum.
-
- Posts: 196
- Joined: 08 Aug 2012
- Has thanked: 41 times
- Been thanked: 41 times
Re: How to turn an Indicator into a Signal
abc is an excellent and affordable coder.
He is here and on Big Mikes forum.
shane
He is here and on Big Mikes forum.
shane