Skip to main content

Posts

qml level (https://docs.google.com/document/d/1Gg2jPfEprAu104PK8buvXYtWFyG1JPfw/edit)

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © EmreKb //@version=5 indicator("Quasimodo Pattern", "QML", overlay=true, max_bars_back=5000, max_labels_count=500, max_lines_count=500) zigzag_len = input.int(13, "ZigZag Length") var float[] high_points_arr = array.new_float(5) var int[] high_index_arr = array.new_int(5) var float[] low_points_arr = array.new_float(5) var int[] low_index_arr = array.new_int(5) to_up = high >= ta.highest(zigzag_len) to_down = low 0 ? last_trend_up_since : 1, 1)) low_index = bar_index - ta.barssince(low_val == low) last_trend_down_since = ta.barssince(to_down[1]) high_val = ta.highest(nz(last_trend_down_since > 0 ? last_trend_down_since : 1, 1)) high_index = bar_index - ta.barssince(high_val == high) if ta.change(trend) != 0 if trend == 1 array.push(low_points_arr, low_val) array.push(low_index_arr, low_index) if trend == -1 ...
Recent posts

AI ARTICAL WRITING TOOL

Article Writing Tool Article Writing Tool Category Lifestyle Technology Travel Food Personal Finance Health & Wellness Personal Development Entrepreneurship Art & Design Music Photography Education Environment Politics Social Issues Default (English) Assamese Bengali Gujarati Hindi Kannada Kashmiri Konkani Malayalam Marathi Nepali Odia Punjabi Sanskrit Sindhi Tamil Telugu Urdu Generate Article Thinking... Thinking...

ai script genarator

Script Writing Tool Script Writing Tool Category YouTube Podcast Film TV Show Commercial Documentary Theater Animation Video Game Educational Tutorial Webinar Vlog Product Review Explainer Video Default (English) Assamese Bengali Gujarati Hindi Kannada Kashmiri Konkani Malayalam Marathi Nepali Odia Punjabi Sanskrit Sindhi Tamil Telugu Urdu Generate Script Thinking... Thinking... ;
//@version=4 study("EasyLevels", shorttitle="ESL", overlay=true) length = input(title="ATR Period", type=input.integer, defval=22) mult = input(title="ATR Multiplier", type=input.float, step=0.1, defval=3.0) showLabels = input(title="Show Buy/Sell Labels?", type=input.bool, defval=true) useClose = input(title="Use Close Price for Extremums?", type=input.bool, defval=true) highlightState = input(title="Highlight State?", type=input.bool, defval=true) atr = mult * atr(length) longStop = (useClose ? highest(close, length) : highest(length)) - atr longStopPrev = nz(longStop[1], longStop) longStop := close[1] > longStopPrev ? max(longStop, longStopPrev) : longStop shortStop = (useClose ? lowest(close, length) : lowest(length)) + atr shortStopPrev = nz(shortStop[1], shortStop) shortStop := close[1] shortStopPrev ? 1 : close longStopPrev ? max(longStop, longStopPrev) : longStop shortStop = (useClose ? ta.lowest(...

binary 2min stratigy

//@version=5 indicator("Binary Option Strategy (EUR/USD)", overlay=true) // Input for selecting the moving average type and periods fastMA = input.int(50, title="Fast Moving Average Period") slowMA = input.int(200, title="Slow Moving Average Period") // Calculate the selected moving averages fastSMA = ta.sma(close, fastMA) slowSMA = ta.sma(close, slowMA) // Define the trend as "Up" when the fast MA is above the slow MA, and "Down" otherwise trend = fastSMA > slowSMA ? "Up" : "Down" // Plot the moving averages on the chart (optional) plot(fastSMA, color=color.blue, title="Fast SMA") plot(slowSMA, color=color.red, title="Slow SMA") // Entry conditions callEntry = ta.crossover(close, fastSMA) and trend == "Up" putEntry = ta.crossunder(close, fastSMA) and trend == "Down" // Plot arrows on the chart for entry signals plotarrow(callEntry ? 1 : putEntry ? -1 : na, colorup=col...