Hey,
when we do exploration , value get changed.
in alert , Is it possible to get value of certain pattern or desire output and it doesn't change there >>
this exploration gives bullbar output .
aLL THE RESULT OF BULLBAR GOES TO ALERT OUTPUT LIST AND IT DOES GET UPDATED AND NOT GET DELETED, when we DO EXPLORATION, NEW VALUE COMES AND IT GET UPDATED IN ALERT OUTPUT AND THAT PREVIOUS VALUE NOT GET CHANGED AND FURTHER EXPLORATIONG CONTINUES.
cHow to do it?
I've posted this query , query might be long, so I made separate thread.
http://www.traderji.com/amibroker/90119-simple-coding-help-no-promise-412.html#post1152933
Code:
SetOption("NoDefaultColumns", True );
AddColumn( Null, "Symbol", 1, colorDefault, colorDefault, 70 );
AddColumn( Null, "DateTime", 1, colorDefault, colorDefault, 150 );
AddColumn( Null, "BULLBAR", 1, colorDefault, colorDefault, 70 );
dt = DateTime();
for(i=1; i<=60; i++) {
TimeframeSet(i * in1Minute);
O1 = Ref(O,-1); C1 = Ref(C,-1); MP = (H+L)/2; R = H-L;
blEngulf = ((O1>C1) AND (C>O) AND (C>=O1) AND (C1>=O) AND ((C-O)>(O1-C1)));
bullbar= C>O;
addRowStr = Name() + "\t";
addRowStr = addRowStr + DateTimeToStr(LastValue(DateTime()))+ "\t";
x= StrFormat("%02g-min", i);
addRowStr = addRowStr + WriteIf(bullbar, x, "\t");
filter = 1;
if(LastValue(Filter))
{
addRow(addRowStr );
}
TimeframeRestore();
}
when we do exploration , value get changed.
in alert , Is it possible to get value of certain pattern or desire output and it doesn't change there >>
this exploration gives bullbar output .
aLL THE RESULT OF BULLBAR GOES TO ALERT OUTPUT LIST AND IT DOES GET UPDATED AND NOT GET DELETED, when we DO EXPLORATION, NEW VALUE COMES AND IT GET UPDATED IN ALERT OUTPUT AND THAT PREVIOUS VALUE NOT GET CHANGED AND FURTHER EXPLORATIONG CONTINUES.
cHow to do it?
I've posted this query , query might be long, so I made separate thread.
http://www.traderji.com/amibroker/90119-simple-coding-help-no-promise-412.html#post1152933