Termos de Referência
READ CAREFULLY AND LOOK AT THE IMAGES BEFORE YOU ARE READY TO DO THE WORK.
Indicator name: O Burro Paciente.
Basic parameters and details:
> Indicator averages: MA20 Linear gradient, MA200 linear gradient and MA600 exponential. The averages are standard so there is no need for the indicator to have option to change any parameter such as MA type or period of each, there should only be option to change the colors and the thickness of the line of each MA.
> Display: By default the indicator should only be displayed on the 2-minute chart, there should be no option for this to be changed.
> Entry point: On the candle that triggers the entry triggers should be placed a small arrow indicating where the signal occurred, if it is green purchase and if it is red sale.
> Trigger: Analyze if the trigger was always triggered at the closing of the candle.
> Schedules: The indicator should have the option to filter the times at which it will analyze the chart, issue the input signals and send notification. Example: if it is set start at 08:00 and closing at 16:00, the indicator analyzes, marks the entries in the chart and sends notification only within that time.
> Filter with number of bars where the indicator places the arrow each time the trigger was triggered, Example: 10000 bars before the current bar it analyzes and puts the arrow where the input trigger happened.
Coloring: Whenever the trigger is triggered the indicator must color the candles and MA200, for BUY LimeGreen and for SALE Red, Keep the color until the reverse trigger is triggered, that is, if you triggered buy color in LimeGreen until a sale is triggered.
> Notifications: There must be two fields in the parameters of the indicator where you can write a message that will be sent along with the notification, one field for purchase message and another for sale message.
>>BUY INPUT SIGNAL<<
> PURCHASE 1
1> If MA20 crosses MA200 from bottom to top.
2> If MA200 closure is greater than previous MA200 closure.
3> If MA200 is less than MA600.
4> If the closing price is BELOW the MA600 at a distance GREATER than "X" points it is BUY sign. (NOTES)
> Remarks
1> The indicator should have the option to enter the number of points that the closing price must be below MA600 to give entry signal.
2> If the closing price is a shorter distance from the MA600 than the configured, the indicator should wait for the price to close above MA600 or return within the configured range with candle closing above MA200 and that the other parameters still continue to be met, in this case MA20 crossed with MA200 and MA200 higher than previous MA200.
3> If the input parameters are met the indicator should only issue an alert at each crossing of MA20 with MA200, if crossed once and did not meet the entry criteria should wait another crossing of the averages.
4> If the crossing of MA20 with MA200 happens, closing the price at a distance greater than (500 points example) of the MA600, but if MA200 is with current closure lower than previous closure as in the first image below the indicator must wait for current closure of the MA200 to be higher than previous closure to emit the input signal, If in the first candle as in the second image below where MA20 crossed MA200 the other parameters are already being met the indicator already emits the alert at the closing of the candle.
(THE REVERSE FOR SALE)
CONDITIONS PURCHASE 1
1> MA20 crosses MA200 from bottom to top.
2> MA200 Closure larger than previous MA200 Closure.
3> MA200 less than MA600.
4> Distance between closing the price and MA600 "HIGHER" than 500 pts per (example).
5> Entry alert at candle close where all criteria have been met.
6> Color candles and MA200 as mentioned above.
CONDITIONS PURCHASE 2
1> MA20 crosses MA200 from bottom to top.
2> MA200 Closure larger than previous MA200 Closure.
3> MA200 less than MA600.
4> Distance between closing price and MA600 "LOWER" than 500 points for example, wait candle close above the MA600 to send input signal or that the price returns to the configured range without closing below the MA200, Whatever happens first the indicator emits the alert at candle close.
5> Entry alert on the candle that closed above the MA600 or on the closing of the candle that the price returned within the configured range without closing below the MA200.
6> Color candles and MA200 as mentioned above.
>>SIGNAL OF ENTRY SALE<<
SALE 1.
1> If MA20 crosses MA200 from top to bottom.
2> If MA200 closing is smaller than previous MA200 closing.
3> If MA200 is greater than MA600.
4> If the closing price is ABOVE the MA600 at a distance GREATER than "X" points is sale sign.
Remarks
1> The indicator should have the option to enter the number of points that the price must be from MA600 to give an input signal.
2> If the closing price is at a distance less than the MA600 that the indicator configured should wait for the price close below the MA600 or that the price returns within the range configured with candle closing below the MA200 and meeting all entry criteria for Send the input signal..
3> If the input parameters are met the indicator should only issue an alert at each crossing of MA20 with MA200, if crossed once and did not meet the entry criteria should wait another crossing of the averages.
SALE 1
1> MA20 crosses MA200 from top to bottom.
2> MA200 Closure smaller than previous MA200 Closure.
3> MA200 greater than MA600.
4> Distance between price closing and MA600 greater than 500 points for example.
5> Entry alert at candle close where all criteria have been met.
6> Color candles and MA200 as mentioned above.
SALE 2
1> MA20 crosses MA200 from top to bottom.
2> MA200 Closure smaller than previous MA200 Closure.
3> MA200 greater than MA600.
4> Distance between price closing and MA600 less than 500 points for example, wait for closing below the MA600 to emit input signal or that the price returns to the configured range without closing above the MA200, Whatever happens first the indicator emits the alert at candle close.
5> Alert entry in the candle that closed below the MA600 or in the closing of the candle that the price returned within the configured range without closing above the MA200.
6> Color candles and MA200 as mentioned above.