Login Page - Create Account

Support Board


Date/Time: Thu, 26 Dec 2024 16:42:48 +0000



Post From: Ackin's indicators (SCH users requests for studies) - Update list

[2020-10-10 13:00:02]
User164131 - Posts: 19
Hello Ackin,

In your study called "Numbers Bars: Diagonal differense Imbalance" there is an input "Condition for lines-drawing". And this input has an option "Display only wicks signal".

I am coding my simple study (VPOC for bars with extension lines, nothing special) and trying to implement this condition for example — draw line only if VPOC is in lower wick


if ((sc.TicksToPriceValue(VolumeAtPrice.PriceInTicks) < sc.Open[sc.Index]) &&
(sc.TicksToPriceValue(VolumeAtPrice.PriceInTicks) < sc.Close[sc.Index]))
{
draw_the_line code
}


but it looks like it doesnt work. How can I define this condition properly? I can post whole code if you need.
Date Time Of Last Edit: 2020-10-10 13:00:48