• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 11:04pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 11:04pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Printable Version

Similar Threads

Coding robots and indicators in C# for no charge (cTrader API) 181 replies

Oanda MT4 - Indicators and EAs not showing 1 reply

EAs and indicators relating to moutaki... 22 replies

InterbankFX has loaded its MT4 platform with custom EAs, indicators and scripts 1 reply

Need help to code EAs for MT4 and MT5 2 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 30,220
Attachments: I will code your EAs and Indicators for no charge
Exit Attachments

I will code your EAs and Indicators for no charge

  • Last Post
  •  
  • 1 123124Page 125126127 2213
  • 1 Page 125 2213
  •  
  • Post #2,481
  • Quote
  • Jun 10, 2013 12:50pm Jun 10, 2013 12:50pm
  •  dumbtrader
  • | Joined Jan 2008 | Status: Member | 24 Posts
Quoting dumbtrader
Disliked
hi all ff traders... can some one help me out on this matter pls... i'm like someone here to help me to code a horizontal line indicator.. base on daily open line and range line for candle strentgh... i'm searching many places for this type of indicator.. but so far i have not seen yet before... this indi also ca customize line type and colour too... pls somebody help me out on this... can somebody code it for 4 decimal and 5 decimal metatrader 4 trading platform... pls somebody help me... tq... so it will look like this... {image}
Ignored

hi all ff traders n coders... pls help me to build this kind of indicator.... i want to measure strentgh n range automatically.. plss help frens...
  • Post #2,482
  • Quote
  • Jun 10, 2013 3:02pm Jun 10, 2013 3:02pm
  •  qwpo
  • | Joined Jun 2013 | Status: Junior Member | 3 Posts
Hi,everybody,i try add alert but it can't work.could you help me add alert,thank you.



#property indicator_separate_window
#property indicator_buffers 2
#property indicator_color1 Red
#property indicator_color2 Blue

#property indicator_level1 0

double Cycle[];
double Trigger[];
double Smooth[];

extern double Alpha = 0.07;
int buffers = 0;
int drawBegin = 0;

int init() {
drawBegin = 8;
initBuffer(Cycle, "Cycle", DRAW_LINE);
initBuffer(Trigger, "Trigger", DRAW_LINE);
initBuffer(Smooth);
IndicatorBuffers(buffers);
IndicatorShortName("Cyber Cycle [" + DoubleToStr(Alpha, 2) + "]");
return (0);
}

int start() {
if (Bars <= drawBegin) return (0);
int countedBars = IndicatorCounted();
if (countedBars < 0) return (-1);
if (countedBars > 0) countedBars--;
int s, limit = Bars - countedBars - 1;
for (s = limit; s >= 0; s--) {
Smooth = (P(s) + 2.0 * P(s + 1) + 2.0 * P(s + 2) + P(s + 3)) / 6.0;
Cycle = (1.0 - 0.5 * Alpha) * (1.0 - 0.5 * Alpha) * (Smooth - 2.0 * Smooth 1
  • Post #2,483
  • Quote
  • Jun 10, 2013 3:06pm Jun 10, 2013 3:06pm
  •  qwpo
  • | Joined Jun 2013 | Status: Junior Member | 3 Posts
The code
Attached File
File Type: doc cyber cycle.doc   23 KB | 600 downloads
  • Post #2,484
  • Quote
  • Jun 10, 2013 3:15pm Jun 10, 2013 3:15pm
  •  qwpo
  • | Joined Jun 2013 | Status: Junior Member | 3 Posts
I can't find cyber cycle inciditor ,who can help me and add alert?
  • Post #2,485
  • Quote
  • Jun 10, 2013 10:35pm Jun 10, 2013 10:35pm
  •  Ati Baia
  • | Joined Nov 2011 | Status: Member | 1,042 Posts
hi qwpo,

you ask for an alert but did not define when or what should trigger it.

Quoting qwpo
Disliked
Hi,everybody,i try add alert but it can't work.could you help me add alert,thank you.
Ignored
Money is important, Love is essential.
  • Post #2,486
  • Quote
  • Jun 11, 2013 4:32am Jun 11, 2013 4:32am
  •  james2ko
  • | Joined Apr 2005 | Status: Member | 67 Posts
Hello everyone. IF someone could create an alarm after a lime or red indicator bar closes with the ability to turn ir on and off would be awesomely appreciated.


#property indicator_separate_window
#property indicator_buffers 8

#property indicator_color4 DimGray
#property indicator_color6 Lime
#property indicator_color7 Red
#property indicator_color8 White

#property indicator_width4 1
#property indicator_width6 2
#property indicator_width7 2
#property indicator_width8 2

extern int MA_Length = 100;
extern int NumberOfBars = 2500;

//---- buffers
double ExtMapBuffer1[];
double SPREADHL[];
double AvgSpread[];
double v4[];
double Vol[];
double GREEN[];
double RED[];
double WHITE[];

string WindowName;
int PipFactor = 1;

//+------------------------------------------------------------------+
int init() {
//+------------------------------------------------------------------+
SetIndexBuffer(0,ExtMapBuffer1);
SetIndexStyle(0,DRAW_NONE);
SetIndexBuffer(1,SPREADHL);
SetIndexStyle(1,DRAW_NONE);
SetIndexBuffer(2,AvgSpread);
SetIndexStyle(2,DRAW_NONE);
SetIndexBuffer(3,v4);
SetIndexStyle(3,DRAW_LINE,STYLE_DOT);
SetIndexBuffer(4,Vol);
SetIndexStyle(4,DRAW_NONE);

SetIndexBuffer(5,GREEN);
SetIndexStyle(5,DRAW_HISTOGRAM);
SetIndexBuffer(6,RED);
SetIndexStyle(6,DRAW_HISTOGRAM);
SetIndexBuffer(7,WHITE);
SetIndexStyle(7,DRAW_HISTOGRAM);

string short_name = "VOLUME TYPE";
IndicatorShortName(short_name);
WindowName = short_name;
IndicatorDigits(1);

return(1);
}
//+------------------------------------------------------------------+
int deinit() {
//+------------------------------------------------------------------+
return(0);
}

//+------------------------------------------------------------------+
int start() {
//+------------------------------------------------------------------+
AVGSpread();
AVGVolume();
return(0);
}

//+------------------------------------------------------------------+
int AVGSpread() {
//+------------------------------------------------------------------+
int i, nLimit, nCountedBars;
nCountedBars = IndicatorCounted();
if(nCountedBars>0) nCountedBars--;
nLimit=Bars-nCountedBars;
for(i=0; i<nLimit; i++)
SPREADHL = ((iHigh(NULL, 0, i) - iLow(NULL, 0, i))/Point)/PipFactor; // SPREAD

for (i=0; i<nLimit; i++) {
AvgSpread = iMAOnArray(SPREADHL,0,MA_Length,0,MODE_EMA,i); // AVERAGE SPREAD
}
return(0);
}

//+------------------------------------------------------------------+
int AVGVolume() {
//+------------------------------------------------------------------+
double tempv;
int limit;
int counted_bars=IndicatorCounted();
if (counted_bars>0) counted_bars--;
if (NumberOfBars == 0)
NumberOfBars = Bars-counted_bars;
limit=NumberOfBars; //Bars-counted_bars;

for (int i=0; i<limit; i++) {
tempv=0;
for (int n=i; n<i+MA_Length; n++) {
tempv = Volume[n] + tempv;
}
v4 = NormalizeDouble(tempv/MA_Length,0); // AVERAGE VOLUME
Vol = iVolume(NULL, 0, i); // CURRENT VOLUME

double MIDDLEOFBAR = (High+Low)/2; // EXACT MIDDLE
double UPOFBAR = (High+Low)/2 + (High-Low)/6; // UP CLOSE
double DOWNOFBAR = (High+Low)/2 - (High-Low)/6; // DOWN CLOSE

RED = EMPTY_VALUE;
GREEN = EMPTY_VALUE;
WHITE = EMPTY_VALUE;

if (Close < DOWNOFBAR && Open > Close && Close < Low[i+1])
RED= NormalizeDouble(Volume,0);
else
if (Close > UPOFBAR && Open < Close && Close > High[i+1])
GREEN= NormalizeDouble(Volume,0);
else
WHITE= NormalizeDouble(Volume,0);
}
return(0);
}
//+------------------------------------------------------------------+
  • Post #2,487
  • Quote
  • Jun 11, 2013 4:54am Jun 11, 2013 4:54am
  •  _Raghu_
  • | Commercial Member | Joined May 2013 | 60 Posts
i want simple trend line drawing indicator like this

http://i41.tinypic.com/5nsv7s.png
Money is What Money Does
  • Post #2,488
  • Quote
  • Jun 11, 2013 5:03am Jun 11, 2013 5:03am
  •  nikleon
  • | Joined Jul 2010 | Status: Member | 21 Posts
Hi again , if someone can create an indicator that take a moving average value of a curent timeframe and draw an horizontal line that can show on every timeframe. like for an excample i f i want to create the SR lines for 50 MA will be shown in timeframes for 5 to month as horizontal lines with colour codes. Ma value for each timeframe should be an otion as also the colour.
Send you a photo of how i doit manually . If anyone can help me will be great help.

Best regards .
Attached Image (click to enlarge)
Click to Enlarge

Name: MA SR.jpg
Size: 359 KB
  • Post #2,489
  • Quote
  • Jun 11, 2013 8:06am Jun 11, 2013 8:06am
  •  Pips4Fun
  • | Joined Dec 2010 | Status: Member | 64 Posts
Hi RedLineFred,

Thanks again for the great help with the Orders indi. I revel daily in the delight of its use!

I wonder if you will be inclined to, so soon, consider another request from me!

I would like to be able to tell what currency pairs account for what percentage of my wins and losses over any selected period. Would it be possible to write an indi that would, in respect of the chart pair it is placed on, give the following example stats:

Period: 13:05:2013 – 07:06:2013
Chart Pair: AUDUSD (or ALL if CurrentPairOnly is False)
Total Trades: 50
Winners: 45 (90%)
Pips Won: +500
Losers: 5 (10%)
Pips Lost: -70
Total AUDUSD trades: 10 (20%)
AUDUSD Winners: 8 ((8/45*100) %)
AUDUSD Losers: 2 ((2/5*100) %)
AUDUSD Win Rate: (8/10*100) %

There could also be an option CurrentPairOnly which if set to True will just print the above stats on screen. If set to False, it should do the above for all pairs traded in the specified period and export it to an HTML page that then opens up in a browser.

I’d be really grateful for any help with this.

Thanks a million Fred.

Regards,
Pips
  • Post #2,490
  • Quote
  • Jun 11, 2013 9:35am Jun 11, 2013 9:35am
  •  SLaKerZ
  • | Joined Apr 2013 | Status: Member | 85 Posts
Quoting RaptorUK
Disliked
{quote} You don't convert an Indicator into an EA, you use information from the Indicator in an EA . . . read this: Detailed explanation of iCustom - MQL4 forum
Ignored

Hi Raptor,

Thanks for the reply... and how do i do that? sorry i don't really understand the term of this...
  • Post #2,491
  • Quote
  • Jun 11, 2013 9:37am Jun 11, 2013 9:37am
  •  RaptorUK
  • Joined Jan 2008 | Status: Member | 870 Posts
Quoting SLaKerZ
Disliked
{quote} Hi Raptor, Thanks for the reply... and how do i do that? sorry i don't really understand the term of this...
Ignored
Did you read the thread I gave a link to ?

Quote
Disliked
iCustom allows you to access your Indicators buffers . . . it's that simple.

For example, you are writing an EA that has a strategy based on 2 Indicators, you could build the Indicator code into the EA, that is possible but is a little involved as Indicator buffers don't work on EAs, you would have to use arrays and handle them in an "as series" fashion . . . the alternative is to have the Indicators running and access their buffers from the EA . . . this is what iCustom facilitates....
20 pips a day isn't too much to ask . . .
  • Post #2,492
  • Quote
  • Jun 11, 2013 5:26pm Jun 11, 2013 5:26pm
  •  Culver
  • | Joined Mar 2013 | Status: Member | 24 Posts
Hello

I'm looking pivot indicator drawing lines for many pairs on one chart.

Now I'm using auto pivot points and when I play on eur/jpy I want to see pivot lines from gbp/jpy on this chart.

Maybe you can help me. Thank you so much.
Attached File
File Type: mq4 Auto-Pivot-Points.mq4   15 KB | 189 downloads
  • Post #2,493
  • Quote
  • Jun 11, 2013 6:21pm Jun 11, 2013 6:21pm
  •  RaptorUK
  • Joined Jan 2008 | Status: Member | 870 Posts
Quoting Culver
Disliked
Hello I'm looking pivot indicator drawing lines for many pairs on one chart. Now I'm using auto pivot points and when I play on eur/jpy I want to see pivot lines from gbp/jpy on this chart. Maybe you can help me. Thank you so much. {file}
Ignored
Current price for EURPY is 127.8 approx and you want to see pivot lines for GBPJPY whose current price is 150.2 . . . how will that work ? can you take a EURJPY chart and draw the GBPJPY lines on manually and show the screen grab.
20 pips a day isn't too much to ask . . .
  • Post #2,494
  • Quote
  • Jun 11, 2013 7:07pm Jun 11, 2013 7:07pm
  •  OsloFX
  • | Joined Nov 2012 | Status: Member | 34 Posts
Hello! Can someone please make this indicator for me? it would really help
Attached Image (click to enlarge)
Click to Enlarge

Name: 2.png
Size: 11 KB
  • Post #2,495
  • Quote
  • Jun 11, 2013 7:27pm Jun 11, 2013 7:27pm
  •  SLaKerZ
  • | Joined Apr 2013 | Status: Member | 85 Posts
Quoting RaptorUK
Disliked
{quote} Did you read the thread I gave a link to ? {quote}
Ignored

I have read it... but like I say, I don't understand it at all... hope u could guide me or tell me in simple English...
  • Post #2,496
  • Quote
  • Jun 11, 2013 10:23pm Jun 11, 2013 10:23pm
  •  LastNames
  • | Joined Nov 2012 | Status: Member | 27 Posts
there is not a bad judge, can someone be able to modify to a net trading advisor and neskolkimi.Budu grateful.
Attached File
File Type: mq4 RS Finale Grail [test] mod165 v1-0.mq4   36 KB | 283 downloads
  • Post #2,497
  • Quote
  • Jun 12, 2013 9:36am Jun 12, 2013 9:36am
  •  RedLineFred
  • Joined Sep 2012 | Status: Member | 303 Posts
Quoting Pips4Fun
Disliked
Hi RedLineFred, Thanks again for the great help with the Orders indi. I revel daily in the delight of its use! I wonder if you will be inclined to, so soon, consider another request from me! ...............
Ignored
Now that would be a useful tool.

I have seen a number of indi's that do similar things, but don't have any on hand.

It may be a little beyond my skill set, but you've got me thinking.

Cant promise anything soon on this but keep reminding me and one day I may have something for you.

Anyone else on the forum got any bits of code that could help?

Fred
" check out The Traders Outpost "
  • Post #2,498
  • Quote
  • Jun 12, 2013 9:39am Jun 12, 2013 9:39am
  •  RaptorUK
  • Joined Jan 2008 | Status: Member | 870 Posts
Quoting SLaKerZ
Disliked
{quote} I have read it... but like I say, I don't understand it at all... hope u could guide me or tell me in simple English...
Ignored
OK, so I think you are saying that you have no experience of mql4 coding, you need to start here: Book
20 pips a day isn't too much to ask . . .
  • Post #2,499
  • Quote
  • Jun 12, 2013 9:41am Jun 12, 2013 9:41am
  •  RedLineFred
  • Joined Sep 2012 | Status: Member | 303 Posts
Pips4Fun,

You might get use out of this script.

It exports history out and you can deal with it in excel.

Fred
Attached Files
File Type: mq4 OrderHistory.mq4   98 KB | 221 downloads
File Type: ex4 OrderHistory.ex4   50 KB | 185 downloads
" check out The Traders Outpost "
  • Post #2,500
  • Quote
  • Jun 12, 2013 2:21pm Jun 12, 2013 2:21pm
  •  Pips4Fun
  • | Joined Dec 2010 | Status: Member | 64 Posts
Quoting RedLineFred
Disliked
{quote} Now that would be a useful tool. I have seen a number of indi's that do similar things, but don't have any on hand. It may be a little beyond my skill set, but you've got me thinking. Cant promise anything soon on this but keep reminding me and one day I may have something for you. Anyone else on the forum got any bits of code that could help? Fred
Ignored
Thanks a lot for the response.

I will chime in now and again to remind you.

The attached IBFX script does something close to this but only the ex4 file is made available, so I doubt it would be of any use. It would be simply wonderful if you managed to put it together.

Thank you and stay blessed.
Attached File
File Type: ex4 IBFX - Trades Analyzer.ex4   21 KB | 234 downloads
  • Platform Tech
  • /
  • I will code your EAs and Indicators for no charge
  • Reply to Thread
    • 1 123124Page 125126127 2213
    • 1 Page 125 2213
14 traders viewing now, 5 are members:
walvekarraje
,
Invisible
,
jaisis21
,
hakimsan
,
CaliNgu27
  • More
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2021