Expert advisor based on bollinger bands needed

İş tamamlandı

Tamamlanma süresi: 11 dakika
Geliştirici tarafından geri bildirim
Thank you for your order! Great customer!

İş Gereklilikleri

Having trouble with coding


// Inicialização do robô void OnStart() { // Define as configurações do indicador de Bollinger int periodo = 20; // Período da média móvel double desvios = 2.0; // Número de desvios padrão int ma_tipo = MODE_SMA; // Tipo de média móvel (SMA = média móvel simples) SetIndexStyle(0, DRAW_ARROW); // Define o estilo da seta do indicador } // Loop principal do robô void OnTick() { // Calcula as bandas de Bollinger double upper, lower; double ma = iMA(NULL, 0, periodo, 0, ma_tipo, PRICE_CLOSE, 1); double dev = iBands(NULL, 0, periodo, desvios, desvios, ma_tipo, PRICE_CLOSE, 0, 1); upper = ma + dev; // Banda superior lower = ma - dev; // Banda inferior // Verifica se o preço atual está acima da banda superior de dois desvios if (Close[0] > upper) { // Verifica se já existe uma posição aberta if (PositionSelect(_Symbol)) { // Encerra a posição se o próximo fechamento estiver abaixo da banda superior de dois desvios if (Close[1] < upper) PositionClose(); } else { // Abre uma nova posição de compra se não houver posição aberta int ticket = PositionOpen(_Symbol, OP_BUY); // Define o stop loss para a posição if (ticket > 0) PositionSetDouble(ticket, POSITION_SL, lower); } } // Verifica se o preço atual está abaixo da banda inferior de um desvio if (Close[0] < lower) { // Encerra qualquer posição aberta if (PositionSelect(_Symbol)) PositionClose(); }


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(8)
Projeler
11
0%
Arabuluculuk
11
18% / 73%
Süresi dolmuş
2
18%
Serbest
2
Geliştirici 2
Derecelendirme
(255)
Projeler
312
37%
Arabuluculuk
6
50% / 17%
Süresi dolmuş
7
2%
Serbest
3
Geliştirici 3
Derecelendirme
(74)
Projeler
121
43%
Arabuluculuk
12
33% / 50%
Süresi dolmuş
17
14%
Serbest
Benzer siparişler
Greetings, As the title suggests, I am trying to convert an indicator that calls itself via an iCustom call like this. iMAArray_Buffer[loop_1] = iCustom ( NULL , Selected_TF, MQLInfoString ( MQL_PROGRAM_NAME ), "calculate" , RPeriod, MType, MPeriod, 1 , shift); Full code will not be provided, only the position that needs fixing. I cannot get this working in MQL5 but the original code runs smoothly in MQL4. Please
Hi, I have an indicator from my friend, I want to copy it to my own Traidingview or MT5 can you do that for me. Here is the link
Hi, I have an indicator from my friend, I want to copy it to my own Traidingview or MT5 can you do that for me. Here is the link
Greetings great developer, I am in search of a highly skilled developer to assist with an exciting project. I need to convert two open-source TradingView indicators to NinjaTrader 8 and implement a usage restriction based on computer IDs. If you have experience with NinjaTrader 8 coding please let me know. I’d be happy to discuss the details further
Greetings great developer, I am in search of a highly skilled MQL5 developer to assist with an exciting project. I need to convert two open-source TradingView indicators to NinjaTrader 8 and implement a usage restriction based on computer IDs. If you have experience with NinjaTrader 8 coding please let me know. I’d be happy to discuss the details further
Hi, I need a robot, which wil get instructions to trade in 3 symbols at the same time based on few parameters and calculations. Example: There is 1 symbol called Gold-Near and the rate for it is 1000-1002 If i specify that when the rate reaches 1050, it should sell 1 lot Upon execution it will have to sell 1 lot of cme gold, buy 3 lots of mcx gold and buy currently (lots will be based on calculation). All the
Trading bot 300+ USD
We need bot that trades when medium and low impact news hits It will release pending order both directions few min prior to news impact And will have certain risk management strategy attached Example If Monday and Tuesday news successful clears profits It will reduce risk for next news events until new week starts each week message on tg: Dstatewealthtrading NOTE: 4 YAERS OF EXPERIENCE UPWORD, YOU MUST BE A
I need someone the create a supertrend indicator based on Heikin Ashi candles instead of normal candles. Needs to be exactly the same as the supertrend (original one) + ha from tradingview. In m1,m5,m15 the indicator must have the same values ​​found with the tradingview. Work that meets this requirement will be accepted ( depending on the broker and spread, however, a few pips of difference will be accepted)
are you aware of the Monday Range Strategy? https://www.youtube.com/watch?v=7B_yBBFx6z8 5pm EST time sunday - monday 5pm est and it has to be on the H1 chart , minimum 1:2 Risk to reward and break even function after 1:1
Hello, I need someone who have a great experience in ATAS platforms, I use ATAS software for orderflow and i would like tradingview to draw some light information from ATAS to tradingview. If you are capable of this please send me a message and let's proceed

Proje bilgisi

Bütçe
30+ USD
Geliştirici için
27 USD
Son teslim tarihi
from 1 to 10 gün