Reply

How to program a signal when lines are crossing with a custom indicator (or not) …

7 replies

JC Savard

Subscriber, bbp_participant, community, 28 replies.

Visit profile

10 years ago #111468

Hi,

 

I’ve imported the indicator in attachment and I want to program a basic EA with the signals/condition when blue and the red line are crossing (buy or sell).

The problem is that I’ve used the “Manage Custom Indicator” Tab and I haven’t saw the lines in the output value…

When I add a rule in the strategy tab, I see the line but they aren’t in the output.  How I can make a signal out of that?

 

My question could be also with a regular stochastic… How do we program it so we can make a signal when the 2 line are crossing in the overbought level?

 

Thank you a thousand time for answering my questions.  I’m sure that will be read by a lot of people.

 

Best regards,

 

JC

0

Pago

Customer, bbp_participant, community, 83 replies.

Visit profile

10 years ago #122337

Hello JC Savard,

 

If you import the indicator there are 4 outputs available.

I you want to use the crossover signal you have to selsect the K (output 1[the blue line]) and the D (output 2 [the violet line]).

 

File: 24.07.png24.07.png

 

When it should only trade if the K or D line is below 20 you have to use this

 

 

Hope I could help you

Cezar

 

 

 

 

0

JC Savard

Subscriber, bbp_participant, community, 28 replies.

Visit profile

10 years ago #122339

Thank you very much Pago.  It is much appreciated the images and explanations.

 

You have gaven me the answer but I won’t be able to reproduce this knowlegde with another custom indicator…

 

The question : How did you knew it was ” K and the D ” that was the output lines?

and why Blue and violet, why not Violet and Blue?  Just by the order they appear? 

 

So I can understand it myself the next time with another custom indicator I will study?

 

Jean-Charles

From Montreal (Quebec) Canada

0

Batch

Customer, bbp_participant, community, 398 replies.

Visit profile

10 years ago #122364

Thank you very much Pago.  It is much appreciated the images and explanations. You have gaven me the answer but I won’t be able to reproduce this knowlegde with another custom indicator… The question : How did you knew it was ” K and the D ” that was the output lines?and why Blue and violet, why not Violet and Blue?  Just by the order they appear?  So I can understand it myself the next time with another custom indicator I will study? Jean-CharlesFrom Montreal (Quebec) Canada

Until Pago answers, what I do is ……with indicator on the chart I move cursor over whatever line and a tiny box opens that tells you whether its value1 or say value3 or whatever valueX. Then you know which ones in custom indicator setup window you are interested in that same order. Hope that helps,
Jerry

0

JC Savard

Subscriber, bbp_participant, community, 28 replies.

Visit profile

10 years ago #122379

or Mark….

0

Pago

Customer, bbp_participant, community, 83 replies.

Visit profile

10 years ago #122381

You can do it like batch it has written. You can also see the values in the data window. In the next step I create a simple long and short condition to verify this values in a backtest.

Then you can see if the EA will open trades at the crossover. If not I use the trial and error system with the other values 😉

 

 

 

File: 31.07.png31.07.png

 

 

 

Cezar

 

 

Thank you very much Pago.  It is much appreciated the images and explanations.

 

You have gaven me the answer but I won’t be able to reproduce this knowlegde with another custom indicator…

 

The question : How did you knew it was ” K and the D ” that was the output lines?

and why Blue and violet, why not Violet and Blue?  Just by the order they appear? 

 

So I can understand it myself the next time with another custom indicator I will study?

 

Jean-Charles

From Montreal (Quebec) Canada

 

0

Mark Fric

Administrator, sq-ultimate, 2 replies.

Visit profile

10 years ago #122521

Hi,

 

it is as Cezar said – you can find out which output value belongs to which line by looking at the lines in the chart and the indicator values in Data window.

 

When indicator has more output values than lines it is little bit tricky, you have to look at the values carefully – for example

look where blue line is above red one, also the output value belonging to blue should be bigger than output value belonging to red line.

 

Mark

Mark
StrategyQuant architect

0

JC Savard

Subscriber, bbp_participant, community, 28 replies.

Visit profile

10 years ago #122532

Thanks everybody!

0

Viewing 7 replies - 1 through 7 (of 7 total)