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

MQL4 Indicateurs Experts

Tâche terminée

Temps d'exécution 5 minutes
Commentaires du client
PERFECT! Highly recommended, real professional. Changed a really long & heavy code to very short and light. Thanks a lot!

Spécifications

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







Dossiers :

Répondu

1
Développeur 1
Évaluation
(1235)
Projets
2820
80%
Arbitrage
156
22% / 43%
En retard
487
17%
Gratuit
2
Développeur 2
Évaluation
(45)
Projets
59
14%
Arbitrage
31
26% / 52%
En retard
34
58%
Gratuit
3
Développeur 3
Évaluation
(277)
Projets
334
55%
Arbitrage
14
36% / 29%
En retard
1
0%
Gratuit
4
Développeur 4
Évaluation
(64)
Projets
144
46%
Arbitrage
21
38% / 19%
En retard
32
22%
Travail
Commandes similaires
Gold hunter v5 30+ USD
*TITLE:* 5 Trades EA - EMA20/50 + RSI - Safe for Small Account *SPECIFICATION:* I need MT5 EA - Source Code .mq5 *Logic:* Buy: EMA20 > EMA50 and RSI(14) 45-70 Sell: EMA20 < EMA50 and RSI(14) 30-55 Timeframe M15, Symbol XAUUSD and all Forex *Trade Management:* Max 5 trades at same time. Fixed lot 0.01. No martingale. No lot increase. Distance between trades 150 points. Do not open all 5 at same price. Max 5 total
Code the indicator to MT5 EA, include all the inputs variables and values Allow live trading Allow demo trading Allow strategy tester Bar shift 0 adjustable Allow indicator to show on strategy tester Lot size adjustable Max spread in points (0=disable) Use stop loss circle true or false Stop loss circle in points adjustable Use stop loss true or false Stop loss in points (adjustable) Take profit true or false Use
MT5 High-Volume Trading Bot Requirements I am looking for a professional MetaTrader 5 (MT5) trading bot / Expert Advisor designed for high trading volume while maintaining extremely low and controlled drawdown. The requirements are: * Platform: MetaTrader 5 (MT5) only. * Trading volume: approximately 1,000–2,000 operations/trades per day. * No HFT: I am not looking for a true high-frequency trading system based on
Poverty 30+ USD
Develop the EA according to my provided trading strategy and rules. The EA must open and close trades automatically according to the specified conditions. Include configurable Stop Loss, Take Profit, lot size and risk-management settings. Include an option for fixed lot size or percentage-based risk. Include Magic Number and trade-comment settings. The EA must work correctly on the requested MT4/MT5 platform and
I need an Expert Advisor (EA) developed for MetaTrader 5 (MT5) tailored for trading on Exness accounts. Account & Server Details: Trading Platform: MetaTrader 5 (MT5) Broker: Exness Execution Type: Market / Pending Orders Account Type: [Specify: Standard / Pro / Raw Spread / Zero] Target Instruments: [Specify pairs, e.g., XAUUSD, EURUSD, BTCUSD] Strategy Requirements: Entry Rules: [Insert your buy/sell entry
Monthly Report: August 2026 World PEACE Multi FX Algo generated a total realized profit of approximately 31,966 JPY during August. The provider account is normally operated with approximately 200,000 JPY of capital. Compared with this standard operating amount, the realized profit for August was approximately 15.98%. Please note that this is not a compounded monthly return. Realized profits are withdrawn regularly
I am looking for an experienced MQL5/MT5 Expert Advisor developer to build a custom XAUUSD (Gold) HFT/ultra-fast scalping EA for MetaTrader 5. I have attached a reference video showing exactly how I want the EA to behave. Please watch the video carefully before applying. The video should give you a clear understanding of the desired entry behavior, trade frequency, execution style, and overall system behavior. The EA
I’m looking for an experienced developer who can build a Martingale trading bot. I’m willing to pay a fair price for the right developer. I have an example trading account that demonstrates exactly how I want the bot to operate. The strategy is straightforward: the bot trades continuously using a Martingale system. The only exception is that it should automatically pause trading during high-impact news events or
This is a Tradingview project. Would you be able to make this? With a win rate and profit factor and percentage made and profit made and max dd reached. How many modifications would I be able to do? Could there be a table that shows win percentage profit factor and trading window where trades shouldn’t be placed and follows the rules of the pdf How long would it take and would it work on ninjatrader also
I need a professional MQL5 developer to build a high-frequency trading (HFT) Expert Advisor for MT5. Key Requirements & Risk Management Rules: 1. Max Trade Limit: The bot must execute a strict maximum of 1,000 trades. 2. Lot Size Cap: Every trade must be capped at a maximum of 0.50 lots. 3. Execution Speed: Optimized for low-latency, rapid execution. 4. Clean code with proper error handling and clear parameter

Informations sur le projet

Budget
30 - 34 USD
Délais
de 1 à 4 jour(s)