Hi experts/seniors,
I am looking for a generic gfx code to add to end of my AFL to get those box which displays, last sell/buy generated price/time and current profit/loss at CMP.
I dont need target or stop loss, just time, signal generated price, and current profit/loss
I tried few but dint work and I have zero knowledge on coding, can some experts help?
My AFL has just buy sell signal, I am pasting that code part here below.
//////////////////////////
{
T3MAcolor = IIf(C>=T3MA,colorGreen,colorRed);
Buy=T3MAcolor==colorGreen;
Sell=T3MAcolor==colorRed;
Buy=ExRem(Buy,Sell);
Sell=ExRem(Sell,Buy);
AlertIf(Buy,"SOUND C:\\Windows\\Media\\Buy.wav","Buy@" + WriteVal( C,1.2),1);
AlertIf(Sell,"SOUND C:\\Windows\\Media\\Sell.wav","Sell@" + WriteVal( C,1.2) ,2);
Ribbon1=IIf(C>=T3MA,colorGreen,colorRed);
Plot(2, "Ribbon", Ribbon1, styleOwnScale| styleArea| styleNoLabel,-0.5,100);
}
//////////////////////////
Screen shot example attached
Thanks in advance
Pavan
I am looking for a generic gfx code to add to end of my AFL to get those box which displays, last sell/buy generated price/time and current profit/loss at CMP.
I dont need target or stop loss, just time, signal generated price, and current profit/loss
I tried few but dint work and I have zero knowledge on coding, can some experts help?
My AFL has just buy sell signal, I am pasting that code part here below.
//////////////////////////
{
T3MAcolor = IIf(C>=T3MA,colorGreen,colorRed);
Buy=T3MAcolor==colorGreen;
Sell=T3MAcolor==colorRed;
Buy=ExRem(Buy,Sell);
Sell=ExRem(Sell,Buy);
AlertIf(Buy,"SOUND C:\\Windows\\Media\\Buy.wav","Buy@" + WriteVal( C,1.2),1);
AlertIf(Sell,"SOUND C:\\Windows\\Media\\Sell.wav","Sell@" + WriteVal( C,1.2) ,2);
Ribbon1=IIf(C>=T3MA,colorGreen,colorRed);
Plot(2, "Ribbon", Ribbon1, styleOwnScale| styleArea| styleNoLabel,-0.5,100);
}
//////////////////////////
Screen shot example attached
Thanks in advance
Pavan
Attachments
-
24 KB Views: 50