指定
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © allanster
//@version=4
study("Gridimus Maximus", shorttitle = 'Gridimus Maximus', overlay = true)
step_By = input('Steps by Pivot', title = 'Type of Increment',
options = ['Steps by Pivot', 'Steps by Percent', 'Steps by Price'])
stepNmb = input(defval = 5, title = 'Number Of Steps', minval = 0, maxval = 50)
towards = input(defval = 'Top', title = 'Direction To Step Towards',
options = ['Bottom', 'Top'])
startAt = input(defval = 10000.00, title = 'Starts From Price', minval = 0)
fctr_By = step_By == 'Steps by Percent' ? .01 : 1
stepAmt = input(defval = 33.3, title = 'Steps By Percent Or Price', minval = 0) * fctr_By
pivotHi = input(defval = high, title = 'Or Steps By Higher', inline = 'pivots')
pivotLo = input(defval = low, title = 'Lower', inline = 'pivots')
pivotLn = input(defval = 7, title = 'Pivot nBars To Left', minval = 0, inline = 'nBars')
pivotRn = input(defval = 2, title = 'Right ', minval = 0, inline = 'nBars')
resoltn = input('', title = 'Use A Higher Timeframe', type = input.resolution)
gridSty = input(defval = 'Dotted', title = 'Grid Lines Show As',
options = ['Dashed', 'Dotted', 'Solid'], inline = 'grid')
gridCol = input(defval = color.new(#787b86, 0), title = ' ', type = input.color, inline = 'grid')
gridWid = input(defval = 1, title = ' ', minval = 1, inline = 'grid')
gridXtd = input(defval = 'Both', title = 'Grid Lines Extend ',
options = ['Both', 'Right'], inline = 'grid2')
lablSiz = input(defval = 'Normal', title = 'Grid Label Show As',
options = ['Off', 'Auto', 'Tiny', 'Small', 'Normal', 'Large', 'Huge'], inline = 'labl')
textCol = input(defval = color.new(#000000, 0), title = ' ', type = input.color, inline = 'labl')
lablCol = input(defval = color.new(#787b86, 0), title = ' ', type = input.color, inline = 'labl')
source(_src,_res)=>
src = _res == timeframe.period ? _src : security(syminfo.tickerid, _res, _src)
offSet(_res, _n)=>
ctf = _res == timeframe.period
bar = time_close - time
htf = ctf ? bar : security(syminfo.tickerid, _res, bar)
off = ctf ? _n : round(htf / bar * _n)
hiPivot = source(pivothigh(pivotHi, pivotLn, pivotRn), resoltn), hiValue = not na(hiPivot)
loPivot = source(pivotlow (pivotLo, pivotLn, pivotRn), resoltn), loValue = not na(loPivot)
useAxis = float(na)
useAxis :=
step_By == 'Steps by Percent' or step_By == 'Steps by Price' ? startAt :
hiValue ? hiPivot : loValue ? loPivot : nz(useAxis[1])
useSign = towards == 'Bottom' ? -1 : 1
// === Queue function method adapted from PineCoders.com | LucF ===
f_qDq(_array, _val) =>
array.push(_array, _val)
_return = array.shift(_array)
f_lineNew(_y)=>
setBack =
step_By != 'Steps by Pivot' ? 1 :
resoltn == timeframe.period ? pivotRn : offSet(resoltn, pivotRn)
line.new(bar_index - setBack, _y, bar_index, _y, xloc.bar_index,
gridXtd == 'Both' ? extend.both : extend.right, gridCol,
gridSty == 'Dashed' ? line.style_dashed :
gridSty == 'Dotted' ? line.style_dotted :
line.style_solid, gridWid)
f_labelNew(_y)=>
hideLbl = lablSiz == 'Off'
sizeLbl =
lablSiz == 'Auto' ? size.auto : lablSiz == 'Tiny' ? size.tiny :
lablSiz == 'Small' ? size.small : lablSiz == 'Normal' ? size.normal :
lablSiz == 'Large' ? size.large : size.huge
setBack = resoltn == timeframe.period ? pivotRn : offSet(resoltn, pivotRn)
if step_By != 'Steps by Pivot'
label.new(time + (time_close - time), _y, tostring(_y), xloc.bar_time, yloc.price,
hideLbl ? color(na) : lablCol, label.style_label_lower_left,
hideLbl ? color(na) : textCol, sizeLbl, text.align_left)
else if step_By == 'Steps by Pivot'
label.new(bar_index - setBack, _y, tostring(_y), xloc.bar_index, yloc.price,
hideLbl ? color(na) : lablCol, hiValue ? label.style_label_lower_left : label.style_label_upper_right,
hideLbl ? color(na) : textCol, sizeLbl, text.align_left)
var line[] gridLvl = array.new_line(stepNmb)
var label[] gridLbl = array.new_label(stepNmb)
stepLvl = float(na)
if step_By != 'Steps by Pivot'
for i = 0 to stepNmb - 1
stepLvl :=
i == 0 ? useAxis :
step_By == 'Steps by Price' ? useAxis + (useSign * i * stepAmt) :
step_By == 'Steps by Percent' ? stepLvl * (1 + (useSign * stepAmt)) :
useAxis // <- future additional static axis options may go here
label.delete(f_qDq(gridLbl, f_labelNew(stepLvl)))
line.delete(f_qDq(gridLvl, f_lineNew(stepLvl)))
else if step_By == 'Steps by Pivot' and change(useAxis) != 0
label.delete(f_qDq(gridLbl, f_labelNew(useAxis)))
line.delete(f_qDq(gridLvl, f_lineNew(useAxis)))
反馈
1
等级
项目
118
31%
仲裁
4
0%
/
50%
逾期
2
2%
空闲
2
等级
项目
0
0%
仲裁
0
逾期
0
空闲
3
等级
项目
3
0%
仲裁
1
0%
/
100%
逾期
2
67%
空闲
4
等级
项目
434
27%
仲裁
122
21%
/
57%
逾期
96
22%
工作中
相似订单
我需要RSI及BOLL指標的綜合EA
50 - 100 USD
設置空單進場條件,RSI及BOLL達成條件後開啟,RSI及BOLL達成條件關閉倉位 設置多單進場條件,RSI及BOLL達成條件後開啟,RSI及BOLL達成條件關閉倉位 設置套利、止損點數、開倉手數
趋势ea 固定止损一单一结
300 - 500 USD
趋势ea固定止损一单一结,适用于黄金或多品种外汇货币对,做单频率不能太少,要求最大可能锁住利润(亮出思路),并以固定手数0.01手为标准亮出半年的测试图,利润要远远大于止损。
编写设计一个可以在MT4程序里自动执行交易的程序
50+ USD
编程自动交易。在五分钟k线里当阳线收盘价高于前一根阳线收盘价就开一单0.01,当阳线收盘价低于前一根阳线收盘价就平仓一单0.01。多单最多开仓为20单。空单开平方仓的方式就相反,当阴线收盘价低于前一根阴线就开一单空0.01,当阴线收盘价高于前一根阴线就平空一单0.01,空单最多开仓20单
一项基于MACD和布林带2个指标
30 - 50 USD
EA我后期可以自行调整的参数有以下: 1. 时间周期:( 5分钟、15分钟、30分钟等可调) 2. 交易量模式:区分低中高风险(可调) 3. 止损点 :1000固定止损,可以调整和关闭! 4. 加仓距离: 400 points ,每 4个个点加仓一次(加仓距离可以调整,加仓1/2/3次的手数也可以 分别 调整) 5. 开仓交易时间设置 6. MACD的设置(12,26,9)可调 7. 布林带的设置( 20)可调 8. 及其他开发者认为可以添加的调整参数,等等 ......谢谢
项目信息
预算
30 - 200 USD
开发人员
27
- 180
USD