For some reason I get a null for lowestlow value. Can you please tell what I am doing wrong? It was working before! Also is there any thing different between "lowest" and "llv"? I read the documentations however I did not find any difference between the two.
function preMain()
{
setPriceStudy(true);
}
function main()
{
var blnNewBarTrigger = getBarState();
var i=getOldestBarIndex();
i=-i;
var vLowestLow
if ((blnNewBarTrigger == BARSTATE_NEWBAR))
{
debugPrintln("Oldest Bar Index = " + i);
vLowestLow = llv(i, low());
debugPrintln("vLowestLow = " + llv(i, low()));
}
}
function preMain()
{
setPriceStudy(true);
}
function main()
{
var blnNewBarTrigger = getBarState();
var i=getOldestBarIndex();
i=-i;
var vLowestLow
if ((blnNewBarTrigger == BARSTATE_NEWBAR))
{
debugPrintln("Oldest Bar Index = " + i);
vLowestLow = llv(i, low());
debugPrintln("vLowestLow = " + llv(i, low()));
}
}
Comment