GetJawValue (int offset)
method
Retrieves Alligator jaw line value according to given offset.
Syntax
public double GetJawValue (int offset)
Parameters
offset — int
Return
double
Example
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using PTLRuntime.NETScript;
namespace iAlligatorExamples
{
public class iAlligatorExamples : NETStrategy
{
public override void OnQuote()
{
//If you use this method you can get indicators data
Indicator Alligator = Indicators.iAlligator(CurrentData,5,1,8,1,11,1,MAMode.EMA, PriceType.Close);
//Also you can use methods of the class
double Alligator_jaw = Indicators.iAlligator(CurrentData,5,1,8,1,11,1,MAMode.EMA, PriceType.Close).GetJawValue(1);
double Alligator_lips = Indicators.iAlligator(CurrentData,5,1,8,1,11,1,MAMode.EMA, PriceType.Close).GetLipsValue(1);
double Alligator_teeth = Indicators.iAlligator(CurrentData,5,1,8,1,11,1,MAMode.EMA, PriceType.Close).GetTeethValue(1);
}
}
}
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.