Need some help!

Created at 26 Aug 2018, 21:15
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
JE

jelle2500

Joined 25.11.2017

Need some help!
26 Aug 2018, 21:15


Can someone fix this for me?

 

I need this:

 

the difference between MarketSeries.High.Last(1) and MarketSeries.Low.Last(1) = 100 % and more then (number of pips).

then if the difference between MarketSeries.Low.Last(1) and MarketSeries.Close.Last(1) = more then 50% of the candle

{

Buy signal = true.

Else if the difference between MarketSeries.High.Last(1) and  MarketSeries.Close.Last(1) = more than 50% of the candle

{

Sell signal = true.

 

 

Thanks,

Jelle


@jelle2500
Replies

sifneos4fx
27 Aug 2018, 10:17

RE:

Hey Jelle

Difference in Pips: 

(MarketSeries.High.Last(1) - MarketSeries.Low.Last(1)) / Symbol.PipSize 

 

 

 

jelle2500 said:

Can someone fix this for me?

 

I need this:

 

the difference between MarketSeries.High.Last(1) and MarketSeries.Low.Last(1) = 100 % and more then (number of pips).

then if the difference between MarketSeries.Low.Last(1) and MarketSeries.Close.Last(1) = more then 50% of the candle

{

Buy signal = true.

Else if the difference between MarketSeries.High.Last(1) and  MarketSeries.Close.Last(1) = more than 50% of the candle

{

Sell signal = true.

 

 

Thanks,

Jelle

 


@sifneos4fx

jelle2500
27 Aug 2018, 10:52

RE: RE:

patrick.sifneos@gmail.com said:

Hey Jelle

Difference in Pips: 

(MarketSeries.High.Last(1) - MarketSeries.Low.Last(1)) / Symbol.PipSize 

So this part (and more then a number of pips) is solved then.

thanks!

 

 

jelle2500 said:

Can someone fix this for me?

 

I need this:

 

the difference between MarketSeries.High.Last(1) and MarketSeries.Low.Last(1) = 100 % and more then (number of pips).

then if the difference between MarketSeries.Low.Last(1) and MarketSeries.Close.Last(1) = more then 50% of the candle

{

Buy signal = true.

Else if the difference between MarketSeries.High.Last(1) and  MarketSeries.Close.Last(1) = more than 50% of the candle

{

Sell signal = true.

 

 

Thanks,

Jelle

 

 


@jelle2500