Discussion of article "How to create Requirements Specification for ordering an indicator" - page 2

 
In addition, to attract the trader's attention, you can add the functions PlaySound(), Alert() and MessageBox() to the indicator. If you have your own website or blog page, you may find SendFTP() and WebRequest () functions useful.

Not recommended, does not work in indicators.


It is desirable to know how the indicator will be used:

1. for manual trading - you can add maximum niceties.

2. to be used by an Expert Advisor - the calculation values should be available through iCustom.

3. in the optimiser - the priority is the speed of calculations.

 
Aleksey Lebedev:

Not recommended, doesn't work in indicators.

Removed, thanks

 
Aleksey Lebedev:

It is desirable to know how the indicator will be used:

1. for manual trading - you can add a maximum of niceties.

2. to be used by an Expert Advisor - the calculation values should be available through iCustom.

3. in the optimiser - the priority is the speed of calculations.

OK, I will add

 
Rashid Umarov:

Logic - it's hard to come up with a template. In your experience, how do you formalise it?

First, the customer would write the final goal, what he wants to achieve with the help of an indicator or other product. This is the most important - because of this he will be satisfied with the work or not. I have not yet seen a customer who would be upset because he was prescribed the wrong colours, even for the settings are all quite loyal.

Then would describe the approximate set of functions: you need an indicator based on a bunch of indicators, you need a panel that will do this and that or a table with a bunch of values (and knew that it is clearly add value), you need to draw in two windows (this often happens), you can example of lettering that inserted that message sent (by the way, many people ask for SMS and then surprised that it is not so simple), etc. where the imagination will lead, but the list. This will allow you to quickly assess (from to cost) and not waste the time of the performer, because the customer may just want to know the price and it is normal his right.

Further, if it is an indicator based on calculations or a signal indicator, the customer must either know the numbering of bars, or enter the designations in his own way (in the ToR to determine that I will count in this way).

Then an example of calculations: Current bar value[0] = close[1] - MA[1]+"some other indicator"[1];

or, for example, if we are looking for a pattern: if close[1]>close[2] and close[1]>close[3] - it means a pattern. Or : if close[1] is 20% greater than close[2].

If based on others: if before this bar[0] indicator1[1] has a value greater than something, it means a buy signal.

If indicator1 gives a signal and indicator2 gives a buy signal, then there will be a corresponding arrow on bar[0].

If divergence, tops or something else like that, then we give a definition: if close[0]<close[1]>close[2] - then on bar[1] we will consider that there is a top. Or if there is a Zig-Zag top on bar[1] - it means a top, etc. It is the same with all kinds of rebounds and other isosurprises: if it has fallen below something by some points, and then rose by some points - it means we have a rebound.

It seems that users should be able to use simple notations and formulas like in Excel....

-------------------------------------

This is just a rough idea, to think it through properly you need more time and analysis of many TORs

 

Still, what is the ultimate goal of the topic?

- To create a master for freelance service? (to impose a way of thinking on the customer, and to formalise coders' pricing).

- Or to load the customer with notions that indicators can be so cool and diverse, and he is interfering with his small order.

 
o_o:

What is the ultimate goal of the topic?

To help the customer to formulate his TOR in the developer's language. + to show some pluses that he may not have known/thought about. And all this in a rather brief form.

In general, to make the article appeal to the customer. I am unlikely to see the customers' opinion here, they are less likely to go on the forum.

 
Galina Bobro:

First the customer would write the final goal, what he wants to achieve with the help of the indicator or other product. This is the most important - because of this he will be satisfied with the work or not. I have not yet seen a customer who would be upset because he was prescribed the wrong colours, even for the settings all are quite loyal.

It is understandable, the colour of the line and the names of parameters - not those things because of which the work gets into arbitration. But I would like there to be some order in the text of the Order. As the hero of one film said - "Nothing soothes like reading safety equipment".

Here is a recent work - https://www.mql5.com/ru/job/76241.

Indicator in the attachment

Input parameters

Indicator settings - RSI Periods; Percent_K; Percent D

Timeframe; Magic; Lot; SL; No loss; MaxOrders

Conditions for Buy

Fast crosses slow from the bottom up

Close reverse crossover (counter order), fast crosses level 85 from the top down

Conditions for Sell

Fast crosses slow from the top down

Close reverse crossover (counter order), fast crosses level 15 from the bottom up.

Everything is clear, no questions.


Here is another one https://www.mql5.com/ru/job/76192

It picks up the order opened manually.

After going down by X points, it opens an order with the volume=(current volume of open sell/buy orders on the instrument)*K. The volume is rounded down to hundredths. When opening a new order, Take Profit of all orders is set at TR points from the new breakeven point (including commissions and swaps). The Expert Advisor must take into account manual opening/closing of orders.

The Expert Advisor must work correctly on different instruments in one terminal.

Parameters X, K, TR should be changed from the terminal.

Also understandable, although I suspect that because of the highlighted in yellow there may be surprises when executing the order. But the description seems to be enough for an initial assessment of complexity and cost.

I proceeded from the fact that indicators are much simpler to write, so the article should be simpler. Now I see more criticism so far.

I agree that it is necessary to add TOR examples, I have already thought of one, who else will provide more?

 
Rashid Umarov:
...

I proceeded from the fact that indicators are much easier to write, so the article should go easier. Now I see more criticism so far.

I agree that we need to add sample TORs, I've already thought of one, who else will provide one?

This is the order text like this:

I-LINEindicator

1 Working time-frameM5only

2 Searches on the current session

3 Stays on the history

4 Number of candlesticks participating in the search N(by default 3 )

Description of candlesticks participating in the search

A) The extremum of the candlestick which has one of the shadows missing is compared (the second shadow is required).

B) Extrema of the shadows have the same value.

C) The shadow of the compared candlesticks cannot be 0 points (i.e. ifHI=open or CLOSE such candlestick is not compared (I will explain on the screen).

Highlighting on the chart

A) Extrema of candlesticks involved in the search are selected graphically (point).

B) A line is drawn along the extrema.

An alert is issued when the line appears

I had to look through a lot of explanatory pictures, agree all the concepts (so that there were no disagreements) and by leading questions to make such TOR (taking into account the previously agreed concepts and definitions):

I don't understand anything. Let's define the concepts:

  • "Defining candle" - a candle with one shadow.
  • "Extreme of the defining candle" - the price of the edge of the shadow of the defining candle. There can be several such candles in one trading session (if they have different values of their extrema). Each defining candle has its own number - the first, second, third, ..., N-th candle.
  • "Group of candlesticks" - all candlesticks that must be connected by a single line drawn at the price of the extremum of its defining candlestick.
    I.e., there can be the first group, the second group, the third group, ..., N-th group - according to the numbers of the defining candlesticks

And it turned out like this:

The defining candle is only one candle for each group - it sets the PRICE, on which the line is drawn. All other candlesticks with shadows, and having the same price of any shadow, join this group, and the line is drawn between them.

When another determining candlestick appears, but with OTHER price of the extremum, it creates a new group. And now all candlesticks, which have the price of their shadow the same as the second determining candlestick, begin to enter the second group, and begin to be connected by the second line.

The first group continues to be tracked and supplemented with new candlesticks suitable for it. And the second one also continues to participate in the search.

The third determinant appears, with the third price - the third group is formed. And so on, until the trading session is over.

With the beginning of the next session everything starts again - new groups. Past groups - their lines - are cut off, but remain on the history.
 
Artyom Trishkin:

This is the text of the order:

I had to look through a bunch of explanatory pictures, agree all the concepts (so that there were no disagreements) and by leading questions to make such TOR (taking into account the previously agreed concepts and definitions with him):

And it came out like this:

Mind blowing. Can we see what was meant in the end? Did the customer provide pictures initially or was it all just lip service at first?

 

In my opinion, there are too many technical details in the article, which the customer will never understand. The main thing for the customer is to have a clear idea of what he really wants. To get this idea, before going to freelancing, it would be a good idea for the customer to try to make a simplified scheme of the indicator/expert in Excel and to provide his scheme with screenshots: how this or that signal looks on the chart.

It is difficult and the main thing is that the customer himself will need to "work": to draw up a ToR, to try to describe his strategy in Excel terms, to prepare screenshots of signals for entry and exit, to provide all this with good comments. However, this is the only reliable way to get what the customer wants in the end.