Login Page - Create Account

Support Board


Date/Time: Tue, 07 May 2024 11:10:30 +0000



[User Discussion] - Long Legged Doji Parameters and Values

View Count: 1080

[2020-07-09 02:41:41]
User14953 - Posts: 193
I'm interested in Sierra Chart CandleStick Pattern Finder Parameters and Values to the default Long Legged Doji.
If anyone has a way to peel those off and drop them into a reply, that would be most excellent.

She's strict and stringent as Betty Lou.
Thanks in advance for any joy that glides on down to grace this post.

Something listing -_Parameter_ and _Value_ ?

from studies4.cpp
/*==========================================================================*/

const double k_BearishLongleggedDoji_SimularityPercent = 10.0;

bool IsBearishLongleggedDoji(SCStudyInterfaceRef sc, const s_CandleStickPatternsFinderSettings& settings, int index)
{
  // BEARISH LONGLEGGED DOJI
  // 1. Uptrend
  // 2. The candle [index] is Doji
  // 3. The candle [index] is long
  // 4. The wicks of the candle [index] are nearly the same
  // 5. The body of the candle [index] is higher than the maximum of the candle [index-1]
  SCBaseDataRef InData = sc.BaseData;
  bool ret_flag = false;
  if(settings.UseTrendDetection == false || sc.Subgraph[TREND_FOR_PATTERNS][index] == CANDLESTICK_TREND_UP)  // check for the uptrend
  {
    if (IsDoji(sc, settings, index)) // the candle 0 is Doji
    {
      // the candle 0 is long
      if (IsCandleStrength(InData,index))
      {
        // the body of the candle 0 is higher than the maximum of the candle -1
        if (max(InData[SC_LAST][index], InData[SC_OPEN][index]) > InData[SC_HIGH][index-1])
        {
          // the wicks of the candle 0 are nearly the same
          if (abs(LowerWickLength(InData, index) - UpperWickLength(InData, index))<
            PercentOfCandleLength(InData, index, k_BearishLongleggedDoji_SimularityPercent))
          {
            ret_flag = true;  
          }          
        }        
      }      
    }
  }
  return ret_flag;
}
/*==========================================================================*/

const double k_BullishLongleggedDoji_SimularityPercent = 10.0;
Date Time Of Last Edit: 2020-07-09 02:42:10
[2020-07-10 05:40:51]
User14953 - Posts: 193
http://www.sierrachart.com/image.php?Image=1594359714985.png
Chart image of Long Legged Doji imho.

What's it take to get the Long Legged Doji Chart Study (LLD) to work?

Is this a Long Legged Doji?
Why, Why not?

LONG LEGGED DOJI CHART STUDY (LLD)
in Sierra Chart CandleStick Pattern Finder

IS THIS A LONG LEGGED DOJI?
This example looks like a legitimate candidate
but it does not light up the (LLC) label whereas the Doji Harami Cross on the right side of the chart as a positive (DHC) control, does light up the label.
I've tweaked the user interface settings every which way (LLD), still no joy.
This is fresh study start-over for both the (LLD) and the (DHC) one works the other doesn't.

WHAT QUALIFIES SC's LONG LEGGED DOJI?
- What Numbers WILL - Light up the (LLD) Label?

- What Under-The-Hood Parameters and
Values are listed in the program as
requirements for lighting up the label? Not a Programmer.
How about it? Little Help Here Please?

Do any users have images to post showing Sierra Chart CandleStick Pattern Finder
(LLD) to Work in your hands?

Would you mind posting one or a few qualifying (LLD) Chart Study Labels that have lit up? Thanks
Date Time Of Last Edit: 2020-07-10 05:45:10

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account