A Script based on High, Low and Close manual input prices

İş tamamlandı

Tamamlanma süresi: 1 gün

İş Gereklilikleri

I want to contract the development of a script, where

I wanna manually insert the following parameters (I predict for the candle (0))

And after set a hot-key to run the script:



Definitions

 

H = (High) =          input

L = (Low) =           input

C = (Close) =         input

decimals = 3         (input)

tolerance = 0.001    (input)

toleranceTP = 0.0005 (input)

ForceBull = 2        (input)

ForceBear = -1       (input)

LotSize = 0.10       (input)


 

Script Start()

 

if (Open[0]) < (Close[0])    

AND (ForceBar > ForceBull)

AND (Open[0] < HMin)

1.: OpenBuy (1 per candle), TP[TPH]

AND (Close[0] > LMax)

2.: OpenBuy Limit [LMax], TP[C]

AND (Open[0] > LMax)

3.: OpenSell Limit [HMin], TP[TPL]

 

 

if ((Open[0]) > (Close[0]))

AND (ForceBar < ForceBear)

AND (Open[0] > LMax) 

1:. OpenSell (1 per candle), TP[TPL]

AND ((Open[0] < HMin) OR (Close[0] < HMin))

2:. OpenSell Limit [HMin], TP[C]

AND ((Open[0] < HMin) OR (Open[0] > LMax))

3:. OpenBuy Limit [LMax], TP[TPH]



Where: 

HMax = NormalizeDouble(H , decimals) + tolerance; 

HMin = NormalizeDouble(H , decimals) - tolerance; 

LMax = NormalizeDouble(L , decimals) + tolerance; 

LMin = NormalizeDouble(L , decimals) - tolerance; 



TPH = HMin - toleranceTP

TPL = LMax + toleranceTP


ForceBar = iForce(NULL, PERIOD_CURRENT, 1, MODE_EMA, PRICE_CLOSE, 0)


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(618)
Projeler
1428
59%
Arabuluculuk
31
81% / 0%
Süresi dolmuş
10
1%
Serbest
2
Geliştirici 2
Derecelendirme
(132)
Projeler
178
39%
Arabuluculuk
4
25% / 50%
Süresi dolmuş
14
8%
Serbest
3
Geliştirici 3
Derecelendirme
(38)
Projeler
50
10%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
8
16%
Serbest
4
Geliştirici 4
Derecelendirme
(15)
Projeler
23
9%
Arabuluculuk
7
29% / 57%
Süresi dolmuş
2
9%
Serbest
5
Geliştirici 5
Derecelendirme
(568)
Projeler
641
41%
Arabuluculuk
25
48% / 36%
Süresi dolmuş
46
7%
Çalışıyor
6
Geliştirici 6
Derecelendirme
(33)
Projeler
35
40%
Arabuluculuk
11
9% / 91%
Süresi dolmuş
4
11%
Serbest
Yayınlandı: 4 kod
7
Geliştirici 7
Derecelendirme
(69)
Projeler
146
34%
Arabuluculuk
13
8% / 62%
Süresi dolmuş
26
18%
Serbest
Yayınlandı: 6 kod

Proje bilgisi

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