Software Developer and Music Producer
News Fundamentals All Time Return:
1,159.1%
I will code your pivot EAs for no charge 28 replies
I will code your scalping EAs for no charge 163 replies
Oanda MT4 - Indicators and EAs not showing 2 replies
EAs and indicators relating to moutaki... 22 replies
InterbankFX has loaded its MT4 platform with custom EAs, indicators and scripts 1 reply
DislikedHello, I need a MT4 script that you can send stop-limit orders with. IE price is 1.5000. You want a buy limit order at 1.5100 when price reach 1.5200 so you set a stop-limit order with trigger price at 1.5200 and buy price at 1.5100. I also need a MT5 EA that you can put a trailing stop loss, even when there is no profit. Both also need to have a magic number with them. Very appreciated if anybody can help with this. Thanks.Ignored
DislikedCan somebody add a transparency option to this indi? TIA {file}Ignored
Disliked{quote} What do you mean transparency? Like for the indicator not to show anything or?Ignored
Disliked{quote} What do you mean transparency? Like for the indicator not to show anything or?Ignored
DislikedHi,coders. Anyone have a EA or code it,if I set SL,it auto set TP1 ( 1:1RR)and TP2( 1:1.5RR),and if price hit TP1 colse 80% lot, hit TP2 set BE. thanks.Ignored
Disliked{quote} So that it can be overlayed on top of price but not too visible just enough, just an option to adjust the visibility perhaps? {quote} I think its about opacity? Something like opacity percent adjuster? Example: Opacity (0-100): 50 If I choose 50, the opacity is reduced 50%. Something like that.Ignored
Disliked{quote} This code was written very strangely... its almost like you intended for it to be an indicator, and then added some order send functions in it.. I did add the inputs as you requested but this will probably still need some edits and you should consider switching to an Expert advisor template instead of an indicator template (using OnTick(), OnInit(), and OnDeinit()) {file} {file}Ignored
Dislikedthis is normal ichimoku indicator.. in this we have common settings..no any specific settings. already the green line chikou span comes. i want one more chikou span line comes after 25 candle time.. so in chart current candle left and right both chikou span line comes... is it possible.. can i get like this...any one help me pls {image}Ignored
//+------------------------------------------------------------------+
//| Ichimoku.mq4 |
//| Copyright 2005-2014, MetaQuotes Software Corp. |
//| http://www.mql4.com |
//+------------------------------------------------------------------+
#property copyright "2005-2014, MetaQuotes Software Corp."
#property link "http://www.mql4.com"
#property description "Ichimoku Kinko Hyo"
#property strict
#property indicator_chart_window
#property indicator_buffers 7
#property indicator_color1 clrRed // Tenkan-sen
#property indicator_color2 clrBlue // Kijun-sen
#property indicator_color3 clrGreen // Up Kumo
#property indicator_color4 C'187,0,0' // Down Kumo clrMaroon
#property indicator_color5 clrLime // Chikou Span
#property indicator_color6 clrGreen // Up Kumo bounding line
#property indicator_color7 C'187,0,0' // Down Kumo bounding line
//--- input parameters
input int InpTenkan=9; // Tenkan-sen
input int InpKijun=26; // Kijun-sen
input int InpSenkou=52; // Senkou Span B
//--- buffers
double ExtTenkanBuffer[];
double ExtKijunBuffer[];
double ExtSpanA_Buffer[];
double ExtSpanB_Buffer[];
double ExtSpanA2_Buffer[];
double ExtSpanB2_Buffer[];
double ExtChikouBuffer[];
double ExtChikouBuffer1[];
//---
int ExtBegin;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
void OnInit(void)
{
IndicatorDigits(Digits);
//---
SetIndexStyle(0,DRAW_LINE);
SetIndexBuffer(0,ExtTenkanBuffer);
SetIndexDrawBegin(0,InpTenkan-1);
SetIndexLabel(0,"Tenkan Sen");
//---
SetIndexStyle(1,DRAW_LINE);
SetIndexBuffer(1,ExtKijunBuffer);
SetIndexDrawBegin(1,InpKijun-1);
SetIndexLabel(1,"Kijun Sen");
//---
ExtBegin=InpKijun;
if(ExtBegin<InpTenkan)
ExtBegin=InpTenkan;
//---
SetIndexStyle(2,DRAW_HISTOGRAM,STYLE_DOT);
SetIndexBuffer(2,ExtSpanA_Buffer);
SetIndexDrawBegin(2,InpKijun+ExtBegin-1);
SetIndexShift(2,InpKijun);
SetIndexLabel(2,NULL);
SetIndexStyle(5,DRAW_LINE,STYLE_DOT);
SetIndexBuffer(5,ExtSpanA2_Buffer);
SetIndexDrawBegin(5,InpKijun+ExtBegin-1);
SetIndexShift(5,InpKijun);
SetIndexLabel(5,"Senkou Span A");
//---
SetIndexStyle(3,DRAW_HISTOGRAM,STYLE_DOT);
SetIndexBuffer(3,ExtSpanB_Buffer);
SetIndexDrawBegin(3,InpKijun+InpSenkou-1);
SetIndexShift(3,InpKijun);
SetIndexLabel(3,NULL);
SetIndexStyle(6,DRAW_LINE,STYLE_DOT);
SetIndexBuffer(6,ExtSpanB2_Buffer);
SetIndexDrawBegin(6,InpKijun+InpSenkou-1);
SetIndexShift(6,InpKijun);
SetIndexLabel(6,"Senkou Span B");
//---
SetIndexStyle(4,DRAW_LINE);
SetIndexBuffer(4,ExtChikouBuffer);
// SetIndexDrawBegin(4,InpKijun+InpSenkou-1);
SetIndexShift(4,-InpKijun);
SetIndexLabel(4,"Chikou Span");
SetIndexStyle(7,DRAW_LINE);
SetIndexBuffer(7,ExtChikouBuffer1);
// SetIndexDrawBegin(4,InpKijun+InpSenkou-1);
SetIndexShift(7,-InpKijun+52);
SetIndexLabel(7,"Chikou SpanB");
//--- initialization done
}
//+------------------------------------------------------------------+
//| Ichimoku Kinko Hyo |
//+------------------------------------------------------------------+
int OnCalculate(const int rates_total, const int prev_calculated,
const datetime &time[], const double &open[],
const double &high[], const double &low[],
const double &close[], const long &tick_volume[],
const long &volume[], const int &spread[])
{
int i,k,pos;
double high_value,low_value;
//---
if(rates_total<=InpTenkan || rates_total<=InpKijun || rates_total<=InpSenkou)
return(0);
//--- counting from 0 to rates_total
ArraySetAsSeries(ExtTenkanBuffer,false);
ArraySetAsSeries(ExtKijunBuffer,false);
ArraySetAsSeries(ExtSpanA_Buffer,false);
ArraySetAsSeries(ExtSpanB_Buffer,false);
ArraySetAsSeries(ExtChikouBuffer,false);
ArraySetAsSeries(ExtChikouBuffer1,false);
ArraySetAsSeries(ExtSpanA2_Buffer,false);
ArraySetAsSeries(ExtSpanB2_Buffer,false);
ArraySetAsSeries(open,false);
ArraySetAsSeries(high,false);
ArraySetAsSeries(low,false);
ArraySetAsSeries(close,false);
//--- initial zero
if(prev_calculated<1)
{
for(i=0; i<InpTenkan; i++)
ExtTenkanBuffer[i]=0.0;
for(i=0; i<InpKijun; i++)
ExtKijunBuffer[i]=0.0;
for(i=0; i<ExtBegin; i++)
{
ExtSpanA_Buffer[i]=0.0;
ExtSpanA2_Buffer[i]=0.0;
}
for(i=0; i<InpSenkou; i++)
{
ExtSpanB_Buffer[i]=0.0;
ExtSpanB2_Buffer[i]=0.0;
}
}
//--- Tenkan Sen
pos=InpTenkan-1;
if(prev_calculated>InpTenkan)
pos=prev_calculated-1;
for(i=pos; i<rates_total; i++)
{
high_value=high[i];
low_value=low[i];
k=i+1-InpTenkan;
while(k<=i)
{
if(high_value<high[k])
high_value=high[k];
if(low_value>low[k])
low_value=low[k];
k++;
}
ExtTenkanBuffer[i]=(high_value+low_value)/2;
}
//--- Kijun Sen
pos=InpKijun-1;
if(prev_calculated>InpKijun)
pos=prev_calculated-1;
for(i=pos; i<rates_total; i++)
{
high_value=high[i];
low_value=low[i];
k=i+1-InpKijun;
while(k<=i)
{
if(high_value<high[k])
high_value=high[k];
if(low_value>low[k])
low_value=low[k];
k++;
}
ExtKijunBuffer[i]=(high_value+low_value)/2;
}
//--- Senkou Span A
pos=ExtBegin-1;
if(prev_calculated>ExtBegin)
pos=prev_calculated-1;
for(i=pos; i<rates_total; i++)
{
ExtSpanA_Buffer[i]=(ExtKijunBuffer[i]+ExtTenkanBuffer[i])/2;
ExtSpanA2_Buffer[i]=ExtSpanA_Buffer[i];
}
//--- Senkou Span B
pos=InpSenkou-1;
if(prev_calculated>InpSenkou)
pos=prev_calculated-1;
for(i=pos; i<rates_total; i++)
{
high_value=high[i];
low_value=low[i];
k=i+1-InpSenkou;
while(k<=i)
{
if(high_value<high[k])
high_value=high[k];
if(low_value>low[k])
low_value=low[k];
k++;
}
ExtSpanB_Buffer[i]=(high_value+low_value)/2;
ExtSpanB2_Buffer[i]=ExtSpanB_Buffer[i];
}
//--- Chikou Span
// pos=0;
pos=0;
if(prev_calculated>1)
pos=prev_calculated-1;
for(i=pos; i<rates_total; i++)
ExtChikouBuffer[i]=close[i];
//--- Chikou SpanB
pos=0;
if(prev_calculated>1)
pos=prev_calculated-1;
for(i=pos; i<rates_total; i++)
ExtChikouBuffer1[i]=close[i];
//---
return(rates_total);
}
//+------------------------------------------------------------------+ Disliked{quote} Here you go. I just changed "Alert" to "SendNotification" (which will send to phone) {file} {file}Ignored
DislikedHi, can anyone add alarm with arrow pop in on the chart when both line cross? green cross red buy red cross green sell you can set any time frame but I need mostly on 4 hour chart less signals but more reliable . Thanks. {file} {file}Ignored
DislikedHi, can anyone add alarm with arrow pop in on the chart when both line cross? green cross red buy red cross green sell you can set any time frame but I need mostly on 4 hour chart less signals but more reliable . Thanks. {file} {file}Ignored
Disliked{quote} ssa__ma SSA normalized end-pointed (1) BAMSBUNG-NO REPAINT-3_mod v2 Traders Dynamic CB SSA EP Norm Index AA New 1-02 Traders Dynamic_Cb_ssa norm Index_alerts+arrows 2_2 SSA Impulsive ST = https://www.forexfactory.com/thread/...6#post13843856 {file} {file} {file} {file} {file} {image} {image} {image} {image} {file}Ignored
DislikedHey Everyone - I NEED HELP CODING / CREATING A TOOL FOR ENTERING THE MARKET This is what I'm looking for: I want a button that allows be to buy/sell with a order above/or under the prior bar with variable limit / stop loss or preferably with a stop under/over the prior that I entered above/under off of. Hope some can help me out - I would really mean the world to me ! Just message/ reply if u have any questions !Ignored
DislikedApparently, you can also trade stocks with Meta Trader has anyone tried this? I think IC Markets allows this.Ignored