How to calculate W% negative value

Created at 18 Apr 2019, 02:02
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!
SK

Skypips

Joined 12.02.2019

How to calculate W% negative value
18 Apr 2019, 02:02


Hi guys,

 

I am trying to do the following:

Buy if RSI goes below 20 and W% goes below -90

This is the code   if ((rsi.Result.LastValue < 20) && (Indicators.WilliamsPctR(14).Result.LastValue < -90))

But it doesn't seem to work.

 

Thanks.


@Skypips
Replies

Shares4UsDevelopment
18 Apr 2019, 09:21

please post more code

please post your code, this way no one can determin what's wrong

 


@Shares4UsDevelopment