Simple: Extending export script with linear regression datas (attached source codes of linear regression already attached)

MQL4 Göstergeler Uzmanlar

İş tamamlandı

Tamamlanma süresi: 5 dakika
Müşteri tarafından geri bildirim
PERFECT! Highly recommended, real professional. Changed a really long & heavy code to very short and light. Thanks a lot!

Şartname

bid, ask, ma and atr already get exported, now i need additionally linear regression values, left and right price values of the linear regression line: 


left right values of linear regression line


i need the linear regression datas after MA (not after ATR) :

left and right price values of the linear regression line (see image "indicator simple extend"). attached you have 2 source codes of indicators with linear regression calculation. 


for all 28 pairs that are already there:


M1 period: 22

M1 period: 23

M1 period: 24

M5 period: 32

M5 period: 33

M15 period: 42

M15 period: 43

M30 period: 52

M30 period: 53

H1 period: 62

H1 period: 63

H4 period: 72

H4 period: 73

D1 period: 82

D1 period: 83


yes, all timeframes with 2-3 different periods, please take exact same periods.


This are 30 additional values to be exported. The total amount of exported values will be 78 including the linear regression datas, there is a limit of 67 datas that can get exported per currency. Way around: use "double" and the limit of 67 can get exceeded, OR IF YOU WOULD LIKE TO USE ANOTHER METHOD THAN "DOUBLE METHOD" LET ME KNOW! See attached file as example (indicator export with double function". 



According to a forum post, the code can get shortened a lot this way:

for(int a=0; a<SymbolsTotal ();a++)

for(int b=0; b<8;b++)

for(int c = 0; c<ArraySize(Period);c++)

{

Symbols[a].timeframe[b].period[c].ma= iMA(symbol[a],TF[b],Period[c],method,apply to,Shift); } 

....but i don't know if thats true and its not required. 



please keep or make the code as short as possible.



Actually its an indicator that exports the datas, not a script, you can let it be an indicator. 




files: 

Export indicator.mq4

Export indicator with double function

indicator simple extend.jpg

Linear regression.mq4

Linear regression istddev.mq4







Dosyalar:

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(1235)
Projeler
2820
80%
Arabuluculuk
156
22% / 43%
Süresi dolmuş
487
17%
Serbest
2
Geliştirici 2
Derecelendirme
(45)
Projeler
59
14%
Arabuluculuk
31
26% / 52%
Süresi dolmuş
34
58%
Serbest
3
Geliştirici 3
Derecelendirme
(277)
Projeler
334
55%
Arabuluculuk
14
36% / 29%
Süresi dolmuş
1
0%
Serbest
4
Geliştirici 4
Derecelendirme
(64)
Projeler
144
46%
Arabuluculuk
21
38% / 19%
Süresi dolmuş
32
22%
Çalışıyor
Benzer siparişler
Platform: TradingView Programming Language: Pine Script v6 Type: Custom Indicator Project Name: Scalping Reaction Zones + Valid Order Blocks MAIN GOAL I need a custom TradingView indicator for scalping. The indicator must detect: 1. Reaction / Explosion Zones 2. Valid Order Blocks 3. Combined Reaction Zone + Order Block zones The indicator should NOT generate: Buy signals Sell signals TP SL Entry signals Trading
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I'm looking for an experienced developer to create an automated gold trading bot. The bot should be compatible with MetaTrader 4/5 and TradingView. Key Requirements: - Automated trading bot - Compatible with MetaTrader 4/5 and TradingView - Implement scalping and swing trading strategies Ideal Skills and Experience: - Proficiency in trading algorithms - Experience with gold trading - Familiarity with MetaTrader and
I need a robust optimization of my MT5 EA, mainly for XAUUSD (Gold). Please optimize the existing adjustable parameters such as entry/exit settings, SL/TP, trailing/break-even settings, and any other strategy parameters that are appropriate. I want the optimization focused on stable profitability, low/moderate drawdown, and robustness rather than simply the highest possible profit. Please use out-of-sample testing
NinjaTrader 8 / NinjaScript Phase 1 build: convert an existing Auction Market Theory (AMT) strategy into objective, alert-only decision-support logic. Not a bot, no auto-execution — trades stay manual. Covers NQ/MNQ, ES, CL, MGC using 30-min TPO/Volume Profile context with 5-min confirmation: one 5-min close outside VAH/VAL = acceptance, close back inside = rejection. Dashboard shows bias, auction state, location
Hello, I need a custom NON-REPAINT MT5 indicator that gives sell/buy arrow signals 1–2 candlesticks before a spike on Crash and boom indices respectively occurs. Requirements: Works perfectly on MT5 Shows arrows before the spike (1–2 candles earlier). Non-repaint – once the arrow appears, it must stay. Should be accurate, not quantity — only quality signals. Must work on both demo and live accounts. I want the
Hello, I saw an indicator on TradingView and would like to know if you will be able to convert it for use on Thinkorswim platform? Thanks. if anyone can help me with it kindly do well to bid it urgent thanks looking forward too see you

Proje bilgisi

Bütçe
30 - 34 USD
Son teslim tarihi
from 1 to 4 gün