iqow-fractal-alligator.lua 6 KB · Libre, lisensya ng MIT
Para sa IQ Option web traderoom. Hindi gumuguhit ang Quadcode ng MAS MATAAS at MAS MABABANG mga marker sa mobile.
Idagdag ito sa IQ Option sa mga hakbang sa 3
- Kunin ang file. Pindutin ang Kunin ang script. Magse-save ang iyong browser ng .lua file.
- I-import ito sa IQ Option. Buksan ang web traderoom sa Practice balance. I-click ang wave icon sa kaliwang ibaba ng chart, buksan ang Scripts tab, pindutin ang Import script at piliin ang file.
- Idagdag ito sa tsart. Magbubukas ang code sa isang editor. I-click ang plus button sa ilalim nito (Idagdag sa tsart). Kailangan lang i-save pagkatapos mong i-edit ang code.
Gabay na may kumpletong larawan, na may mga screenshot →
Panganib. Maaaring malugi ang pangangalakal. Ang marker ay isang obserbasyon sa tsart, hindi isang prediksyon, at ang script na ito ay sinusuri batay sa datos ng pagsubok, hindi napatunayan sa live trading. Subukan muna ito sa Practice balance.
- Takbo
- Sa presyo
- Advanced
Nagmamarka ng pagtatapos sa huling nakumpirmang antas ng fractal kapag ang antas na iyon ay lampas sa mga ngipin ng Alligator. Ang Alligator ang nagbibigay ng sanggunian sa trend at ang fractal naman ang nagbibigay ng breakout level.
Mga panuntunan
MAS MATAAS NA marker
Ang kandila ay nagsasara sa itaas ng huling nakumpirmang up-fractal level pagkatapos ng nakaraang pagsasara ay nasa o mas mababa pa rito, at ang level na iyon ay nasa itaas ng Alligator teeth.
MAS MABABA NA marker
Ang kandila ay nagsasara sa ibaba ng huling nakumpirmang down-fractal level pagkatapos ng nakaraang pagsasara ay nasa o mas mataas pa rito, at ang level na iyon ay nasa ibaba ng Alligator teeth.
Isang marker ang lilitaw pagkatapos magbukas ang susunod na kandila at iguguhit sa kandilang nakakumpleto sa pag-setup. Ito ay isang obserbasyon sa tsart, hindi isang tagubilin para mag-trade.
Paano ito basahin
Ang mga asul, pula, at berdeng linya ay ang panga, ngipin, at labi ng Buwaya, na iginuhit nang pasulong. Ang mga puting tuldok-tuldok na antas ay ang huling nakumpirmang pataas at pababa na mga fractal. Ang berdeng HIGHER triangle ay nangangahulugang isang close na nasa itaas ng huling pataas na fractal kung saan ang antas na iyon ay nasa itaas ng mga ngipin; ang pulang LOWER triangle ay ang mirror case.
Mga indicator na ginamit
- Mga Fraktal ni Williams (5)
- Buwaya (13/8/5, lumipat ng direksyon 8/5/3)
Parehong view na may mga built-in na indicator: Idagdag ang Fractal (5) at Alligator (13/8/5) at bantayan ang mga pagsasara sa isang fractal level na lampas sa linya ng mga ngipin.
Mga setting ng default
| Panahon / pagbabago ng panga | 13 / 8 |
|---|---|
| Panahon / paglipat ng ngipin | 8 / 5 |
| Panahon / pagbabago ng labi | 5 / 3 |
| Laki ng fractal | 5 kandila |
Ang bawat halaga ay isang input sa mga setting ng script. Ang payo sa platform ay naka-off bilang default.
Pangunahing puntos
- Ang fractal ay limang kandila na may pinakamataas na high o lowest low sa gitna.
- Kinukumpirma lamang ito pagkalipas ng dalawang kandila, kaya hindi na kailanman gagamit ang script ng mga kandila sa hinaharap.
- Naaalala ng script ang huling pataas at pababa na mga fractal level.
- Ang mga ngipin ng Buwaya ay nagpapakita ng trend reference, na inilipat pasulong ng limang kandila.
- Ang isang pagsasara sa isang fractal level sa trend na bahagi ng mga ngipin ay minarkahan ng MATAAS o MABABA.
- Magsanay gamit ang balanse ng Practice at panoorin kung ano ang mangyayari sa mga sideways market.
Mga Limitasyon. Ang isang fractal ay kinukumpirma lamang sa dalawang kandila pagkatapos ng gitnang kandila nito, kaya ang mga antas ay lumilitaw nang may pagkaantala. Inilalarawan ng artikulo ang mga fractal nang mag-isa nang walang Alligator rule, kaya ang Alligator filter ay karagdagan ng library na ito; ang mga ties sa mga kalapit na highs o lows ay binibilang pa rin bilang isang fractal, tulad ng sa mga opisyal na fractal bands. Subukan sa Practice balance bago ipagsapalaran ang totoong pondo.
Kumpletuhin ang source code
Ang download at ang preview na ito ay mapupunta sa parehong nasuring file. SHA-256: e68442c95bce26c5e639bab25350fd6a468206234f05b81afc6d7182e23b2d14
-- SPDX-License-Identifier: MIT
-- IQOptionWiki QCS Library
-- IQOW Fractal Alligator v1.0.0
--
-- Combines Williams fractals (five candles, confirmed two candles after the
-- middle one) with the Alligator (SMMA of the median price, jaw 13 shifted
-- 8, teeth 8 shifted 5, lips 5 shifted 3). The Alligator teeth act as the
-- trend reference: a fractal level beyond the teeth means the break comes
-- from the trend side.
--
-- HIGHER: close crosses above the last up-fractal level, and that level is
-- above the Alligator teeth.
-- LOWER: close crosses below the last down-fractal level, and that level is
-- below the Alligator teeth.
--
-- Markers use the previous completed candle: they appear after the next candle
-- opens and are shifted back one bar onto the candle that qualified.
-- Educational chart tool only. It does not place trades, choose an expiry,
-- predict outcomes, or guarantee results. Test on a Practice balance first.
instrument {
name = "IQOW Fractal Alligator",
short_name = "IQOW FR ALLIG",
overlay = true
}
input_group {
"1. Alligator",
jaw_period = input (13, "Jaw period", input.integer, 2, 100),
jaw_shift = input (8, "Jaw shift", input.integer, 0, 30),
teeth_period = input (8, "Teeth period", input.integer, 2, 100),
teeth_shift = input (5, "Teeth shift", input.integer, 0, 30),
lips_period = input (5, "Lips period", input.integer, 2, 100),
lips_shift = input (3, "Lips shift", input.integer, 0, 30)
}
input_group {
"Display and advice",
alligator_visible = input { default = true, type = input.plot_visibility },
fractals_visible = input { default = true, type = input.plot_visibility },
signals_visible = input { default = true, type = input.plot_visibility },
advice_enabled = input { default = false, name = "Enable platform advice", type = input.boolean }
}
input_group {
"Colors",
jaw_color = input { default = "#56CEFF", type = input.color },
teeth_color = input { default = "#FF6C58", type = input.color },
lips_color = input { default = "#25E154", type = input.color },
fractal_color = input { default = rgba(255, 255, 255, 0.6), type = input.color },
line_width = input { default = 1, type = input.line_width },
higher_color = input { default = "#25E154", type = input.color },
lower_color = input { default = "#FF6C58", type = input.color },
signal_text_color = input { default = "#FFFFFF", type = input.color }
}
-- Alligator lines: SMMA (ssma) of the median price.
jaw_line = ssma (hl2, jaw_period)
teeth_line = ssma (hl2, teeth_period)
lips_line = ssma (hl2, lips_period)
-- Williams fractal: the middle candle of five has the highest high (or lowest
-- low). It is only confirmed two candles later, so the pivot is read at [2]
-- and the level is remembered until the next fractal appears. No future bars.
local pivot_high = get_value (high [2], nil)
local pivot_low = get_value (low [2], nil)
local is_up_fractal =
pivot_high ~= nil and get_value (high [4], nil) ~= nil and
get_value (high, 0) <= pivot_high and get_value (high [1], 0) <= pivot_high and
get_value (high [3], 0) <= pivot_high and get_value (high [4], 0) <= pivot_high
local is_down_fractal =
pivot_low ~= nil and get_value (low [4], nil) ~= nil and
get_value (low, 0) >= pivot_low and get_value (low [1], 0) >= pivot_low and
get_value (low [3], 0) >= pivot_low and get_value (low [4], 0) >= pivot_low
up_fractal_level = iff (is_up_fractal, high [2], up_fractal_level [1])
down_fractal_level = iff (is_down_fractal, low [2], down_fractal_level [1])
-- The Alligator is drawn shifted forward. The value shown under the current
-- candle is the teeth calculated teeth_shift candles ago.
local teeth_now = get_value (teeth_line [teeth_shift], nil)
local up_level = get_value (up_fractal_level, nil)
local down_level = get_value (down_fractal_level, nil)
local close_now = get_value (close, nil)
local close_previous = get_value (close [1], nil)
local data_is_ready =
teeth_now ~= nil and up_level ~= nil and down_level ~= nil and
close_now ~= nil and close_previous ~= nil
higher_setup = conditional (
data_is_ready and
up_level > teeth_now and
close_now > up_level and close_previous <= up_level
)
lower_setup = conditional (
data_is_ready and
down_level < teeth_now and
close_now < down_level and close_previous >= down_level
)
-- Confirm only a new setup on the previous completed candle.
confirmed_higher = conditional (
get_value (higher_setup [1], false) and
not get_value (higher_setup [2], false)
)
confirmed_lower = conditional (
get_value (lower_setup [1], false) and
not get_value (lower_setup [2], false)
)
if alligator_visible then
plot (jaw_line, "Jaw", jaw_color, line_width, jaw_shift)
plot (teeth_line, "Teeth", teeth_color, line_width, teeth_shift)
plot (lips_line, "Lips", lips_color, line_width, lips_shift)
end
if fractals_visible then
plot (up_fractal_level, "Last up fractal", fractal_color, line_width, 0, style.points)
plot (down_fractal_level, "Last down fractal", fractal_color, line_width, 0, style.points)
end
if signals_visible then
plot_shape (
confirmed_higher,
"Fractal HIGHER",
shape_style.triangleup,
shape_size.small,
higher_color,
shape_location.belowbar,
-1,
"HIGHER",
signal_text_color
)
plot_shape (
confirmed_lower,
"Fractal LOWER",
shape_style.triangledown,
shape_size.small,
lower_color,
shape_location.abovebar,
-1,
"LOWER",
signal_text_color
)
end
-- QCS advice is a platform notification state only; it does not place trades.
if advice_enabled and
get_value (confirmed_higher, false) and
not get_value (confirmed_lower, false) then
advise (advice.buy)
elseif advice_enabled and
get_value (confirmed_lower, false) and
not get_value (confirmed_higher, false) then
advise (advice.sell)
else
advise (advice.neutral)
end
Mas maraming script ng trend
- Takbo
- Sa presyo
- Baguhan
Heikin Ashi EMA
Minamarkahan ang unang bullish o bearish na Heikin-Ashi candle pagkatapos ng pagtakbo ng dalawang magkasalungat na candle, kapag ang presyo ay nagsara sa katugmang bahagi ng EMA 50. Ang Heikin-Ashi ay kinakalkula sa loob ng script, kaya ang tsart ay maaaring manatili sa mga regular na candle.
Na tagapagsaad: Mga kandilang Heikin-Ashi (kinakalkula) · EMA (50)
- Takbo
- Sa presyo
- Advanced
Ichimoku Kijun Cloud
Minamarkahan ang isang close back sa kabila ng Kijun-sen kapag ang presyo ay nasa trend side na ng isang may kulay na Ichimoku cloud. Ang cloud ang nagtatakda ng direksyon at ang Kijun cross ang nagtatakda ng timing.
Na tagapagsaad: Ulap ng Ichimoku (9, 26, 52, displacement 26)
- Takbo
- Sa presyo
- Panggitna
KAMA Trend
Ang mga marka ay nagsasara na tumatawid sa Kaufman's Adaptive Moving Average sa direksyon na ang average ay nakakiling na. Ang slope check ay nag-aalis ng mga krus kung saan ang patag at mabagal na gumagalaw na KAMA ay naaapektuhan lamang ng presyo.
Na tagapagsaad: KAMA (10, 2, 30)
I-download ang lahat ng 74 na script bilang isang ZIP · Lisensya ng MIT, ibinibigay nang "as is", nang walang warranty. Ang IQOptionWiki ay malaya sa IQ Option operator ng platform. Walang payo sa pamumuhunan o garantiya ng mga resulta dito.