Техническое задание
The indicator signals are based on the indicators:
- Awesome Oscillator Metatrader default
- Accelarator Oscillator Metatrader default
- SSL source code is included
I have my indicator functional and programmed in Pine Script from Tradingview which can be used as a guide for developing the code in Metatrader, 38 lines of code.
These are the minimum conditions that the indicator must include to release the payment, the example images to understand the entry prices, stop lost and the support indicator in Tradingview will be provided to whoever is assigned the work. The same also the logic of the signals
--------------------------------------------------------------------------------------------------------
Variables example
--------------------------------------------------------------------------------------------------------
extern int bar_of_signal = -1; // Closed bar -1 Current bar 0
extern int applied_price = 4; // Applied Price 0,1,2,3,4,5 and 6
extern int ao_fast_period = 5; //Awesome Oscillator Fast Period
extern int ao_slow_period = 34; //Awesome Oscillator Slow Period
extern int ac_fast_period = 5; //Accelerator Oscillator Fast Period
extern int ac_slow_period = 34; //Accelerator Oscillator Slow Period
extern int ssl_period = 10; //SSL Period
extern int Tp_x_Rx = 3; //Stop Loss Multiplier Risk Reward for Tp
extern int No_of_sbars = 100; //Number of last signal bars for Stats
extern int timeframe = 0;
extern int arrow_buy = 225;
extern int arrow_buy_size = 0;
extern int arrow_sell = 226;
extern int arrow_sell_size = 0;
extern bool ssl_show = 1;
extern bool signals = 1;
-----------------------------------------------------------------------------------------------
What should be plotted on the graph?
-SSL indicator (on/off by number 0/1)
-Signals (on/off by number 0/1)
-----------------------------------------------------------------------------------------------
Alerts and notifications
-Alert
-Push
Alerts Messages-------------------------------------
BTCUSD Buy
En: 22435.5
Sl: 22415.0
Tp: 22500.0
09:38:15 2023.02.24
CsB: = 10186
AvB: = 8566 // Average bar size last (No_of_sbars) Buy signals
AvA: = 7569 // Absolute Average bar size last (No_of_sbars) Signals
Buy Signal
----------------------------------------------------------------------------------------------------------
Symbol
EnB: = 3 PRICE_LOW // Applied Price 0,1,2,3,4,5 and 6
SlB: = EnB - Candle Signal Size
TpB: = EnB + (Candle Signal Size)*(Tp_x_Rx)
Time & Date
CsB: = Candle Buy Signal Size
AvB: = (No_of_sbars) // Average bar size last (No_of_sbars) Buy signals
AvA: = (No_of_sbars) // Absolute Average bar size last (No_of_sbars) Signals
Sell Signal
----------------------------------------------------------------------------------------------------------
Symbol
EnS: = 2 PRICE_HIGH // Applied Price 0,1,2,3,4,5 and 6
SlS: = EnS - Candle Signal Size
TpS: = EnS + (Candle Signal Size)*(Tp_x_Rx)
Time & Date
CsS: = Candle Sell Signal Size
AvS: = (No_of_sbars) // Average bar size last (No_of_sbars) Buy signals
AvA: = (No_of_sbars) // Absolute Average bar size last (No_of_sbars) Signals
Notes******************************************************************************************************
-----------------------------------------------------------------------------------------------------------
-Do not use strings in inputs
-Must include this 6 buffers (The numbers can change but in total you need a separate buffer for each of those 6 variables)
EnB Buffer 0 //Buy Signal
EnS Buffer 1 //Sell Signal
SlB Buffer 2 //Stop Lost Buy Signal
SlS Buffer 3 //Stop Lost Sell Signal
TpB Buffer 4 //Take Profit Buy Signal
TpS Buffer 5 //Take Profit Sell Signal
-Must be multitimeframe
-It must be possible to superimpose on itself, that is to say, add the indicator N times, for example, add it 10 times, one for each timeframe and that the signals are displayed correctly
The indicator should look something like this