Hello Members,
For some reason my thread keeps on getting deleted!!!
I simply asked if someone would kindly show me how to get an Alert in the "Triggered Alert List" when I certain event occured in an EFS.
I'll ask again, and hopefully, this won't get deleted.
I have a EFS that I turns a histogram bar green when a certain action occurrs. I was wondering if someone would kindly show me how to set up an alert in 'Triggered Alerts' to show me when symbols that I'm monitoring turns green.
I have attached the EFS.
As always, you help is very much appreciated...
Cheers
Carlton
P.S.
I've just realised that this thread should be in 'EFS Studies', however I don't know how to move it.
In the meantime, while waiting for someone to help me I've tried creating an alert myself, however the alert just keeps on appearing everytime the price changes rather than alerting when the condition occurs.
Any help will be greatly appreciated...
Carlton
function preMain(){
setStudyTitle("MFIcolors");
setCursorLabelName("MFI", 0);
setPlotType(PLOTTYPE_HISTOGRAM);
}
var color=0
var MFIold=0;
var sMyVol="Volume";
var MFI=0;
function main(){
if(getBarState()==BARSTATE_NEWBAR)
MFIold=MFI
var MyVol = "Volume";
if (sMyVol != null) MyVol = sMyVol;
var Range = high(0) - low(0);
var Vol = getValue(MyVol,0);
//var MFI = 0.0;
if (Vol > 0) MFI = Range / Vol * 1000000000;
else MFI = 0;
debugPrintln(MFI+" "+MFIold)
if(MFI>MFIold && volume()>volume(-1))
setBarFgColor(Color.green)
Alert.addToList( "IBM", "Breakout!", Color.green, Color.black );
if(MFI<MFIold && volume()<volume(-1))
setBarFgColor(Color.brown)
if(MFI>MFIold && volume()<volume(-1))
setBarFgColor(Color.blue)
if(MFI<MFIold && volume()>volume(-1))
setBarFgColor(Color.red)
return MFI;
}
function test() {
if(MFI>MFIold && volume()>volume(-1)){
Alert.addToList( "IBM", "Breakout!", Color.green, Color.black );
}
}
For some reason my thread keeps on getting deleted!!!
I simply asked if someone would kindly show me how to get an Alert in the "Triggered Alert List" when I certain event occured in an EFS.
I'll ask again, and hopefully, this won't get deleted.
I have a EFS that I turns a histogram bar green when a certain action occurrs. I was wondering if someone would kindly show me how to set up an alert in 'Triggered Alerts' to show me when symbols that I'm monitoring turns green.
I have attached the EFS.
As always, you help is very much appreciated...
Cheers
Carlton
P.S.
I've just realised that this thread should be in 'EFS Studies', however I don't know how to move it.
In the meantime, while waiting for someone to help me I've tried creating an alert myself, however the alert just keeps on appearing everytime the price changes rather than alerting when the condition occurs.
Any help will be greatly appreciated...
Carlton
function preMain(){
setStudyTitle("MFIcolors");
setCursorLabelName("MFI", 0);
setPlotType(PLOTTYPE_HISTOGRAM);
}
var color=0
var MFIold=0;
var sMyVol="Volume";
var MFI=0;
function main(){
if(getBarState()==BARSTATE_NEWBAR)
MFIold=MFI
var MyVol = "Volume";
if (sMyVol != null) MyVol = sMyVol;
var Range = high(0) - low(0);
var Vol = getValue(MyVol,0);
//var MFI = 0.0;
if (Vol > 0) MFI = Range / Vol * 1000000000;
else MFI = 0;
debugPrintln(MFI+" "+MFIold)
if(MFI>MFIold && volume()>volume(-1))
setBarFgColor(Color.green)
Alert.addToList( "IBM", "Breakout!", Color.green, Color.black );
if(MFI<MFIold && volume()<volume(-1))
setBarFgColor(Color.brown)
if(MFI>MFIold && volume()<volume(-1))
setBarFgColor(Color.blue)
if(MFI<MFIold && volume()>volume(-1))
setBarFgColor(Color.red)
return MFI;
}
function test() {
if(MFI>MFIold && volume()>volume(-1)){
Alert.addToList( "IBM", "Breakout!", Color.green, Color.black );
}
}