2 Indicator for Sto cutting order

MQL4 Indicadores

Termos de Referência

 Hi,

I want to create 2 indicator below. The explanation here is quite long since it is exactly what you need when you code.

Thank you,

HHC 

Picture example is on GBPUSD 2015.01.29 H4

Both indicator use (for i=; ; i++)                 I want (i++)

 

Indicator 1.

Name: Sto_cut_order

When sto cut up from below 25, start tracking any time Sto Cut (up or down)

The indicator will return Buffer value name “Sto_cut_up_order” that take value from 1 to n.

Anytime Sto cut, this buffer increase value by 1 

Only bar with sto cut has Buffer value.

The series end when cut happened at below 25 again.

 

Similarly, you create “Sto_cut_down_order” Buffer starting when sto Cut down from 75.

So when Sto keep stay below 25 and make cut, you will have a number of 1, 1 , 1.

(in the picture, I mistakenly code it to start from 0. Should be 1 at beginning)

 

 

Please make “input double” on the level 25 and 75

Put it in separate window and DRAW_HISTOGRAM

 “Sto_cut_up_order” take value 0 1 2 3..

“Sto_cut_down_order” take value 0 -1 -2 -3..

 

 

Indicator 2.

Name: trade_order

Buffer 1: Number_loss_buy

At each cut bar[i] taken from Indicator1, give SL= Low of [i,i+1,i+2]

                                Parameter on the number of bar to calculate SL

Start the tracking process.

1.       Starting from Sto_cut_up_order=1, put Number_loss_trade=0.5 (I don’t choose 0 since 0 will not show up on Histogram). Then when SL[Sto_cut_up_order=1] is hit, put Number_loss_trade=1;

2.       Starting from this bar (where SL is hit), track the next cut (including the cut occur in this bar). When SL is hit, give Number_loss_trade=2

3.        And continue tracking for the rest of the series.

Note,  this buffer has value for all bars. So it look like that
0.5 0.5 0.5 1 1 1 1 2 2 2 

 

Do the same for Sell series. Number_loss_sell

Put it in separate window and DRAW_HISTOGRAM

“Number_loss_buy” take value 0.5 1 2 3..

“Number_loss_sell” take value -0.5 -1 -2 -3..

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(14)
Projetos
27
22%
Arbitragem
18
6% / 89%
Expirado
8
30%
Livre
2
Desenvolvedor 2
Classificação
(810)
Projetos
1385
72%
Arbitragem
113
29% / 48%
Expirado
343
25%
Carregado
3
Desenvolvedor 3
Classificação
(267)
Projetos
542
50%
Arbitragem
55
40% / 36%
Expirado
225
42%
Trabalhando
4
Desenvolvedor 4
Classificação
(219)
Projetos
370
42%
Arbitragem
145
17% / 41%
Expirado
124
34%
Livre
5
Desenvolvedor 5
Classificação
(34)
Projetos
80
34%
Arbitragem
13
31% / 54%
Expirado
19
24%
Livre
6
Desenvolvedor 6
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
(62)
Projetos
140
46%
Arbitragem
19
42% / 16%
Expirado
32
23%
Livre
Pedidos semelhantes
I've a EA with follow logic. strategy is simple using ema, supertrend and "head and shoulder" indicators. simply put when price closes below ema and the supertrend is red then we enter short .strategy must recognize that there was a previous cycle of long trend with a head and shoulder pattern of long before we enter the short. the opposite is for long entries. max long trades: ex: 3-If long trades are made 3 times
1. ............ PLEASE READ FULLY................................. I'll ONLY RESPOND TO PEOPLE WHO READ MY MESSAGE FULLY... SO A HUMBLE REQUEST 2. PLEASE DO NOT BID, IF YOU'VE ARBITRAGE OF MORE THAN 5% OR YOU'VE NOT DONE ANY PROJECTS BEFORE. 3. PLEASE DO NOT BID, WITHOUT READING, AND ONLY, IF YOU CAN COMMUNICATE ACTIVELY AND FINISH THE PROJECT IN 2 DAYS OR EARLY. Need an indicator for mt5, that can run on multiple
Hello, Looking for someone experienced to create indicators. 1. Will be a MA step indicator, visually it has to look like bands, so each band will be an MA. Like picture below. 2. Reversal Indicator with overall trend indicator using perhaps SMA, lets discuss, should look like this 3. Volume Oscillator. SMA to calculate momentum of the market, has upper and lower threshold values
REQUEST: Need to change the calculation to only historical bars, from [Last bar -1]. 1. No calculation OnTicks 2. No calculation of the Last Current Bar 3. The chart values in real time must be exactly the same refreshing the indicator. 4. Must be very fast in EA as the calculation will be only OnBar. 5. Last bar values must be ZERO (or copying same value of the previous bar). MORE INFO: It use several native
Hey there! I’m looking for a talented NinjaTrader programmer to partner with on some exciting projects. If you have a knack for NinjaScript and a passion for trading tech, let’s team up! What You Can Expect: A friendly collaboration on diverse projects Fair pay—50/50 split on all earnings An opportunity to dive deep into innovative trading strategies What I’m Hoping You Bring: Experience with NinjaTrader and
Hey, I need someone to develop a tradingview that must detect BTCUSD Entry. The strategy will incorpored RSI, fractals and breakout. It's pretty simple. Don't apply if you didn't create tradingview indicator before. Thank you
Hallo zusammen, es wird ein Entwickler für einen eigenen Expert Advisors gesucht. Der Expert Advisor soll anhand von zwei miteinander kombinierbaren Indikatoren (Relative Stärke inkl. Gleitender Durchschnitte und dem Supertrend-Indikator) Einstiegssignale in Long und Shortrichtung für alle möglichen Underlyings suchen. Hierbei soll bei einem initialen Einstieg zusätzlich in einem zeitlichen Abstand und gemäß
Hello, everyone. I have a supertend indicator. I want to set candle color according to trend like attached image. If you have done it, I will give you more jobs. Thanks
STRATEGY : Here’s a comprehensive specification document in English for developing your NinjaTrader bid/ask imbalance indicator: --- ### Bid/Ask Imbalance Indicator for NinjaTrader: Full Specifications #### **Objective**The goal is to develop a custom bid/ask imbalance indicator for NinjaTrader 8. The indicator will calculate and visualize bid/ask imbalances in real-time and on historical tick data using Tick Replay
Hello, I need a master pattern indicator. It is important that the lines of the indicator are generated for each candlestick, as there are also master pattern indicators where this is not the case. In the link is an example of a TradingView indicator, how the lines should be. It is also important that the lines are a buffer and I also need the source code. Here is the link

Informações sobre o projeto

Orçamento
40 - 70 USD
Desenvolvedor
36 - 63 USD
Prazo
de 1 para 2 dias