You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
i need help
hi folks
i need to know from any one how trade by fx sniper crossing on 4 h fram
what broker is the best for this signal as am coufusing because every broker have its time and the colsing of the 4 hour diffrent from one to other and i can't buy or sell on crossing before the candel close so sometimes i miss it by 50-70 pip according to wait my broker candel close for 4 hour
thanks alot
Need Help With Indicator
I am creating an indicator that utilizes the AbsoluteStrength indicator to determine market condition. It is supposed to display a row of circles of different colors indicator signifying a particular market condition. I plan to place four copies of the indicator with different time frames for market condition confirmation. My problem is I cannot get the indicator to display. Whenever I attach it to my chart, my computer hangs up. I have tried to find the problem for a week now but am coming up blank. I'm sure it's an easy fix, I just cannot see it. I would appreciate if someone can take a look at the code and see if they notice anything wrong. I DON'T RECOMMEND ATTACHING IT TO YOUR CHART AS IT WILL HANG YOUR COMPUTER IN IT'S CURRENT FORM.
Thanks in advance for any help.
//+------------------------------------------------------------------+
//| Fantastic Four.mq4 |
//| dargane |
//| |
//+------------------------------------------------------------------+
#property copyright "dargane"
#property indicator_separate_window
#property indicator_minimum 1
#property indicator_maximum 4
#property indicator_buffers 4
#property indicator_color1 Red
#property indicator_color2 Green
#property indicator_color3 Yellow
#property indicator_color4 Blue
//---- input parameters
extern int TimeFrame=0;
extern int Mode=1;
extern int Length=10;
extern int Smooth=5;
extern int Signal=5;
extern int Price=0;
extern int ModeMA=3;
extern int OverBought=0;
extern int OverSold=0;
extern int Level=4;
//---- buffers
int ExtMapBuffer1[];
int ExtMapBuffer2[];
int ExtMapBuffer3[];
int ExtMapBuffer4[];
double Bull[];
double Bear[];
double BullSig[];
double BearSig[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
IndicatorBuffers(8);
SetIndexStyle(0,DRAW_ARROW);
SetIndexArrow(0,108);
SetIndexBuffer(0,ExtMapBuffer1);
SetIndexEmptyValue(0,0.0);
SetIndexStyle(1,DRAW_ARROW);
SetIndexArrow(1,108);
SetIndexBuffer(1,ExtMapBuffer2);
SetIndexEmptyValue(1,0.0);
SetIndexStyle(2,DRAW_ARROW);
SetIndexArrow(2,108);
SetIndexBuffer(2,ExtMapBuffer3);
SetIndexEmptyValue(2,0.0);
SetIndexStyle(3,DRAW_ARROW);
SetIndexArrow(3,108);
SetIndexBuffer(3,ExtMapBuffer4);
SetIndexEmptyValue(3,0.0);
SetIndexBuffer(4,Bull);
SetIndexBuffer(5,Bear);
SetIndexBuffer(6,BullSig);
SetIndexBuffer(7,BearSig);
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
if(Bars<=Length) return(0);
int ExtCountedBars=IndicatorCounted();
//---- check for possible errors
if (ExtCountedBars<0) return(-1);
//---- last counted bar will be recounted
if (ExtCountedBars>0) ExtCountedBars--;
int pos=Bars-ExtCountedBars-1;
while(pos>=0)
{
Bull[pos] = iCustom(Symbol(),TimeFrame,"AbsoluteStrength_v1.1",Mode,Length,Smooth,Signal,Price,ModeMA,OverBought,OverSold,0,pos);
Bear[pos] = iCustom(Symbol(),TimeFrame,"AbsoluteStrength_v1.1",Mode,Length,Smooth,Signal,Price,ModeMA,OverBought,OverSold,1,pos);
BullSig[pos] = iCustom(Symbol(),TimeFrame,"AbsoluteStrength_v1.1",Mode,Length,Smooth,Signal,Price,ModeMA,OverBought,OverSold,2,pos);
BearSig[pos] = iCustom(Symbol(),TimeFrame,"AbsoluteStrength_v1.1",Mode,Length,Smooth,Signal,Price,ModeMA,OverBought,OverSold,3,pos);
if (Bull[pos] > BullSig[pos] && Bear[pos] < BearSig[pos])
{
ExtMapBuffer1[pos] = EMPTY_VALUE;
ExtMapBuffer2[pos] = Level;
ExtMapBuffer3[pos] = EMPTY_VALUE;
ExtMapBuffer4[pos] = EMPTY_VALUE;
}
else
{
if (Bull[pos] > BullSig[pos] && Bear[pos] > BearSig[pos])
{
ExtMapBuffer1[pos] = EMPTY_VALUE;
ExtMapBuffer2[pos] = EMPTY_VALUE;
ExtMapBuffer3[pos] = Level;
ExtMapBuffer4[pos] = EMPTY_VALUE;
}
else
{
if (Bull[pos] < BullSig[pos] && Bear[pos] < BearSig[pos])
{
ExtMapBuffer1[pos] = EMPTY_VALUE;
ExtMapBuffer2[pos] = EMPTY_VALUE;
ExtMapBuffer3[pos] = EMPTY_VALUE;
ExtMapBuffer4[pos] = Level;
}
else
{
if (Bull[pos] BearSig[pos])
{
ExtMapBuffer1[pos] = Level;
ExtMapBuffer2[pos] = EMPTY_VALUE;
ExtMapBuffer3[pos] = EMPTY_VALUE;
ExtMapBuffer4[pos] = EMPTY_VALUE;
}
}
}
}
}
//----
return(0);
}
//+------------------------------------------------------------------+
Indicator signals
Hallo people,
I wonder if someone can help me here. Iwant to read the highest and lowest values of an indicator over specifies number of periods. Like you would do with the bars. But here I want to read the indicator values. Have someone atempt this yet. I'm sure its a simple procedure. I would be very happy if someone can give some guide here on how to do this.
Thanks:rolleyes:
trend line break
Does anybody have the indicator which gives out a sound signal when price crossing a trend line, please respond, it is very necessary to me.
[attach][/attach]
Does anybody have the indicator which gives out a sound signal when price crossing a trend line, please respond, it is very necessary to me.
This indicator with alart as part of MaksiGen Trading system should have alarm on trend lines.
There are TrendLines indicator (created by raff, elite section), WSOWROTrend indicator without alert ( https://www.mql5.com/en/forum/172972 ), trendlines with alert (elite section, created by raff).
It is small thread in elite section here https://www.mql5.com/en/forum/general
I did not check alert with MaksiGen indicator but it should work.
Hallo people,
I wonder if someone can help me here. Iwant to read the highest and lowest values of an indicator over specifies number of periods. Like you would do with the bars. But here I want to read the indicator values. Have someone atempt this yet. I'm sure its a simple procedure. I would be very happy if someone can give some guide here on how to do this.
Thanks:rolleyes:Check this thread https://www.mql5.com/en/forum/general
RSI Alert & Bollinger Alerets Indicators
Hi all,
Here are two indicators that I need them to do the right thing. The Rsi does give the alert but it does not tell me which pair and time frame the alert is on. The Bollitoucher just gives me sound and no visual alert. Can some one please add the proper alerts requirments to these. Any help would be great.
Thanks in advance
Peace for all
Does anybody have the indicator which gives out a sound signal when price crossing a trend line, please respond, it is very necessary to me.
Try Ind TD DeMark
Alerts
Hi all,
Here are two indicators that I need them to do the right thing. The Rsi does give the alert but it does not tell me which pair and time frame the alert is on. The Bollitoucher just gives me sound and no visual alert. Can some one please add the proper alerts requirments to these. Any help would be great.
Thanks in advance
Peace for allThis should be enough information
[attach][/attach]
[attach][/attach]
[attach][/attach]
[attach][/attach]
Hi all,
Here are two indicators that I need them to do the right thing. The Rsi does give the alert but it does not tell me which pair and time frame the alert is on. The Bollitoucher just gives me sound and no visual alert. Can some one please add the proper alerts requirments to these. Any help would be great.
Thanks in advance
Peace for allHere is the other one