Functions to calculate S1, S2, S3, R1, R2, R3 and pivot point levels

MQL4 지표 스크립트

작업 종료됨

실행 시간 5 일
고객의 피드백
Great work, thanks.

명시

I'm looking for the following functions to calculate pivot points, support and resistance levels:

  • function to return the pivot point level using 3 different methods of five-point system and its common variations depending on the given parameter (1-3) or enum and the timeframe:
    • Pivot Point for Current = High (previous) + Low (previous) + Close (previous) / 3
    • P = ((Today\'s O) + Yesterday\'s (H + L + C)) / 4
    • Pivot point system was developed by Tom DeMark
  • function to return S1, S2, S3, R1, R2, R3 values for given timeframe and type of value (either separate functions or all in one):
    • Resistance 1 = (2 x Pivot Point) – Low (previous period) 
    • Support 1 = (2 x Pivot Point) – High (previous period) 
    • Resistance 2 = (Pivot Point – Support 1) + Resistance 1 
    • Support 2 = Pivot Point – (Resistance 1 – Support 1) 
    • Resistance 3 = (Pivot Point – Support 2) + Resistance 2
    • Support 3 = Pivot Point – (Resistance 2 – Support 2)

You can use MT4, but I also considering MT5. It would be great to work on both, but not necessary.

Suggested params: double getPivotPoint(ENUM_TIMEFRAMES tf, uint method), getSupportLevel(ENUM_TIMEFRAMES tf, uint n), getResistanceLevel(ENUM_TIMEFRAMES tf, uint n)

So you can either create 3 functions (for PivotPoint, Support and Resistance levels) or 7, it's up to you.

See Pivot Points page for more details.

응답함

1
개발자 1
등급
(885)
프로젝트
1410
67%
중재
123
32% / 41%
기한 초과
217
15%
무료
게재됨: 1 코드
2
개발자 2
등급
(620)
프로젝트
680
57%
중재
25
16% / 60%
기한 초과
228
34%
무료
3
개발자 3
등급
(636)
프로젝트
1006
47%
중재
33
36% / 36%
기한 초과
99
10%
작업중
게재됨: 6 코드
4
개발자 4
등급
(414)
프로젝트
670
33%
중재
60
17% / 32%
기한 초과
113
17%
작업중
5
개발자 5
등급
(253)
프로젝트
358
49%
중재
24
25% / 50%
기한 초과
80
22%
무료
6
개발자 6
등급
(33)
프로젝트
35
40%
중재
11
9% / 91%
기한 초과
4
11%
무료
게재됨: 4 코드
7
개발자 7
등급
(807)
프로젝트
1127
43%
중재
47
49% / 23%
기한 초과
84
7%
무료
8
개발자 8
등급
(53)
프로젝트
79
18%
중재
13
15% / 54%
기한 초과
5
6%
무료
비슷한 주문
Mamba EA Scalper 30 - 40 USD
Hi, i need a aggressive mobile trading bot which supports both IOS and Android versions, the bot will use stochastic oscillator indicator %K period:15 , while % D period:9 and slowing :9 ,price field should be Low/High while it's method should be simple , Levels: 20,80 and time frames: all . The styles should have a main line which should be green and signal line which should be red . The bot should be able to trade
a one min scalper which will scalp on a one minute timeframe and can trade a low account to a big one and is more effective in mt4 and mt5 for a very short period of time yeah
Mt5 ea 30+ USD
I have a fast execution ea that need a little touch, it trade on gold and my problem is about the risk ratio the tp is 3pip and stop loss 20 but i cannot get it right to make the average win larger and average loss lower. I would like to know if i can get help to get it right without touching the tragedy and the trade frequency. Those two pictures I attached is the example of what my bot actually do like i explained
hello could you make me same indicator for ninja ? https://www.youtube.com/watch?v=pxs2MuqvH3w if yes for how much and timeline ? thks in advance and please reply me as soon as possible you get my notification
Hello, I want a simple bot for NinjaTrader8. I need a bot that operates automatically on Nasdaq (NQ/MNQ). Requirements: open buys and sells following a simple trend strategy, configurable stop loss and take profit, risk per trade of 1 to 2% of capital, if it loses 3% in a day, stop trading until the next day. Compatible with backtesting, delivery of the source code and the working bot in NinjaTrader 8. My initial
[8/4/2026 4:54 AM] DR.HassaN: AI Gold Analysis Web Platform Requirements Hello, I would like to build a professional AI-powered web platform dedicated exclusively to Gold (XAU/USD) analysis . This is NOT a trading platform or broker . It is an intelligent analysis platform that provides high-quality trading signals and detailed market analysis. The platform should have a modern, premium design with my own branding
Ema100+Fibo 30+ USD
I need a robot that sends me a notification when the price aligns with the EMA and my Fibonacci levels—using specific Fibonacci settings—and then either opens a trade based on the Fibonacci SL and TP or simply sends me a notification. And I want the robot to run in both the Strategy Tester and on a demo account, so I can test it beforehand
I need a custom technical indicator that generates an equidistant channel with two specific structural features: 1. Vertical Multi-Intervals: The ability to plot more than 5 parallel, able to allow me to put intervals 2. Horizontal Angle Input: The ability to manually input geometric angle to strictly define the horizontal slope of the channel or allow me to pick two points manually. i am looking for something like
//+------------------------------------------------------------------+ //| DX_Structure_H1.mq5 | //| Copyright 2026, Seu Nome | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026" #property link " https://www.mql5.com " #property version "1.00" #property strict // Parâmetros de Entrada input string InpSymbol = "DX.F"; // Nome do Ativo
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y

프로젝트 정보

예산
30 - 60 USD
기한
에서 3  5 일