Zeal Terminal Open in Zeal Terminal

Pine Script v4 · Strategy

No-lose trading targets (Based on EoRfA) By Mustafa ÖZVER

A Pine Script v4 strategy built on WMA (vwap + ref, 3), Stdev (FPrice, 13) and EMA (FPrice, 13). It has 4 order rules and no entry of its own. Exits wait for a signal; there is no stop loss. Each trade is one contract and pays no commission. 10 settings; defaults include Ref hlc3, Length 13 and Limit 1.68.

Generated from the script's code by a template: every clause is a fact read from the source. Not written by a person or a model, and not taken from the author's description.

Does No-lose trading targets (Based on EoRfA) By Mustafa ÖZVER repaint?
No
No repainting patterns were found in the source. The live replay was not measured: it had no trades to compare.
How did No-lose trading targets (Based on EoRfA) By Mustafa ÖZVER do on BTCUSDT 1D with default settings?
Not measured
It closed no trades there from 26 Jan 2024 to 21 Oct 2026 with the default settings; it opened a short position that was still open on the last bar, so there is no result to report. On BTCUSDT 4h it did trade; that row of the markets table below has its figures. A backtest, not investment advice.
Can No-lose trading targets (Based on EoRfA) By Mustafa ÖZVER be converted to Pine Script v5?
Yes
The upgrade takes 1 step, from v4; each was run before and after on the same candles with identical results, and the v5 script can be downloaded below.
Does No-lose trading targets (Based on EoRfA) By Mustafa ÖZVER use a stop loss?
No
Every exit waits for a signal; nothing limits a losing trade before it fires.
Does No-lose trading targets (Based on EoRfA) By Mustafa ÖZVER run in Zeal Terminal?
Yes
It compiles in 49 ms and runs 1,000 bars in 96 ms, in the browser.

BTCUSDT · 1D · default settings

  • Plot
  • Plot
  • Plot
  • Plot
  • Plot
  • Plot
  • Plot
  • Plot
  • Plot
  • Plot
  • Plot
  • Shape
  • Shape
  • Winning trade
  • Losing trade
  • Equity
Prerendered with the defaults. Change anything and run it here. The script runs in your browser.
Settings (10)
SHORT SETUP => % 8.480.0050,000100,000AprJulOct2025AprJulOct2026AprJulOct$66,590$202,527Equity from $100,000
Binance BTCUSDT 1D candles, 26 Jan 2024 to 21 Oct 2026, 1,000 bars, default settings. Triangles mark entries; circles mark exits. Lines are what the script plots. Lines, boxes and labels are the script's own drawings, the most recent ones its limits keep. Zeal Terminal's engine currently reads an order side written as true, false as a short, whatever it says; this page passes the same side as strategy.long or strategy.short (lines 96, 103) so the engine trades the way the script says.
Net profit
0.00%
$0.00
Buy and hold
+102.5%
same period
Closed trades
0
0 won · 0 lost
Profitable
0.0%
of closed trades
Profit factor
—
gross profit ÷ gross loss
Max drawdown
74.91%
−$74,911.20

One run with the author's default settings, $100,000 starting capital, commission as the script sets it. A short position was still open at the last bar. A single backtest says little about future results and is not a recommendation. Backtests are simulations on historical data and are not investment advice.

Review

What a careful reader of this script would point out, found by checking the source and the backtest.

  • Check

    No stop loss

    Every exit waits for a signal. Nothing limits a losing trade before the exit condition fires.

  • Check

    No commission

    The backtest assumes free trading. Results on any real exchange will be lower.

  • Note

    9 settings have no label

    In the settings dialog ref (line 5), limit (line 17), fibo_0236 (line 38), fibo_0381 (line 39), fibo_0500 (line 40), fibo_0618 (line 41), fibo_0763 (line 42), fibo_1618 (line 43), tolerance (line 63) show an empty name. The labels on this page come from the variable names.

  • Note

    No slippage

    Fills are assumed at the exact open price. Add slippage in the properties for a more realistic test.

Upgrade and export

Written in Pine Script v4. The upgrade to v5 takes 1 step, one per version, each applied to the result of the one before. A last clean-v5 pass then types the settings and moves when = into if blocks, which v6 requires. Every step runs before and after on the same candles in Zeal Terminal's engine; a step whose results differ is shown but not offered as a download. Upgrades preserve behaviour: bugs are fixed in the Review, never silently here.

  • Upgrading to v5 renames wma → ta.wma, stdev → ta.stdev, ema → ta.ema, change → ta.change, min → math.min, max → math.max, tostring → str.tostring, round → math.round.

v4 → v5

Verified

Same 1 trades and the same P&L on BTCUSDT 4h, 1,000 bars, in Zeal Terminal's engine.

  • Line 3: //@version=4 → //@version=5
  • Line 11: wma → ta.wma
  • Line 11: vwap → ta.vwap
  • Line 18: stdev → ta.stdev
  • Line 19: ema → ta.ema
  • Line 21: change → ta.change
14 more edits
  • Line 22: change → ta.change
  • Line 23: min → math.min
  • Line 24: max → math.max
  • Line 33: max → math.max
  • Line 34: min → math.min
  • Line 50: min → math.min
  • Line 52: max → math.max
  • Line 64: change → ta.change
  • Line 89: tostring → str.tostring
  • Line 89: round → math.round
  • Line 95: change → ta.change
  • Line 96: strategy.order(…, true) → strategy.order(…, strategy.long)
  • Line 102: change → ta.change
  • Line 103: strategy.order(…, false) → strategy.order(…, strategy.short)
⋯// © Mustafaozver-//@version=4+//@version=5strategy("No-lose trading targets (Based on EoRfA) By Mustafa ÖZVER", "NLTT_EoRfA_STRATEGY", overlay=true)⋯// EoRfA-FPrice = wma((vwap + ref),3)+FPrice = ta.wma((ta.vwap + ref),3)len = input(13,"Length")⋯limit = input(1.68)-stdev = stdev(FPrice,len)+stdev = ta.stdev(FPrice,len)-ema = ema(FPrice,len)+ema = ta.ema(FPrice,len)vEorfa = (FPrice - ema) / stdev-BUY__SIGNAL = (vEorfa < -limit and change(vEorfa) > 0) ? 1 : 0+BUY__SIGNAL = (vEorfa < -limit and ta.change(vEorfa) > 0) ? 1 : 0-SELL_SIGNAL = (vEorfa > +limit and change(vEorfa) < 0) ? 1 : 0+SELL_SIGNAL = (vEorfa > +limit and ta.change(vEorfa) < 0) ? 1 : 0-U_AREA_ = min(ohlc4,hlc3,hl2,open,close)+U_AREA_ = math.min(ohlc4,hlc3,hl2,open,close)-D_AREA_ = max(ohlc4,hlc3,hl2,open,close)+D_AREA_ = math.max(ohlc4,hlc3,hl2,open,close)U_AREA = U_AREA_⋯D_AREA := BUY__AREA == 1 ? nz(D_AREA[1],D_AREA_) : D_AREA_-maxLine := SELL_AREA == 1 ? max(nz(maxLine[1],0),high) : high+maxLine := SELL_AREA == 1 ? math.max(nz(maxLine[1],0),high) : high-minLine := BUY__AREA == 1 ? min(nz(minLine[1],0),low) : low+minLine := BUY__AREA == 1 ? math.min(nz(minLine[1],0),low) : lowrefLine = plot(ref,color=#00000000,display=display.none,offset=1)⋯//    line.set_x2(D_AREA_LINE,bar_index)-if (U_AREA >= min(close,open) or BUY__SIGNAL == 1 or nz(BuylineforSelling[1],low) > close)+if (U_AREA >= math.min(close,open) or BUY__SIGNAL == 1 or nz(BuylineforSelling[1],low) > close)    SELL_AREA := 0-if (D_AREA <= max(close,open) or SELL_SIGNAL == 1 or nz(SelllineforBuying[1],high) < close)+if (D_AREA <= math.max(close,open) or SELL_SIGNAL == 1 or nz(SelllineforBuying[1],high) < close)    BUY__AREA := 0⋯tolerance = input(0.015)-verify_Revision = change(max_ + min_) == 0 and max_/min_ > (tolerance+1)+verify_Revision = ta.change(max_ + min_) == 0 and max_/min_ > (tolerance+1)verify_Draw = (BUY__AREA == 1 or SELL_AREA == 1) and verify_Revision⋯    reports := reports + (SELL_AREA==1?"SHORT":"")-    reports := reports + " SETUP => % " + tostring(round((max_-min_)*0.5/close*10000)/100)+    reports := reports + " SETUP => % " + str.tostring(math.round((max_-min_)*0.5/close*10000)/100)    lbl := label.new(x=barstate.islast ? time : na,y=max_,text=reports,xloc=xloc.bar_time,color=#2020AA,textcolor=#FFFFFF)⋯EXIT_PRICE := nz(EXIT_PRICE[1],0.0)-if (BUY__AREA == 1 and verify_Draw and strategy.position_size == 0.0 and fibo_rate < fibo_0381 and fibo_rate > fibo_0236 and change(vEorfa) > 0)+if (BUY__AREA == 1 and verify_Draw and strategy.position_size == 0.0 and fibo_rate < fibo_0381 and fibo_rate > fibo_0236 and ta.change(vEorfa) > 0)-    strategy.order("LONG1",true)+    strategy.order("LONG1",strategy.long)    EXIT_PRICE := (max_ - min_)*fibo_0618 + min_⋯    EXIT_PRICE := 0.0-if (SELL_AREA == 1 and verify_Draw and strategy.position_size == 0.0 and fibo_rate < fibo_0763 and fibo_rate > fibo_0618 and change(vEorfa) < 0)+if (SELL_AREA == 1 and verify_Draw and strategy.position_size == 0.0 and fibo_rate < fibo_0763 and fibo_rate > fibo_0618 and ta.change(vEorfa) < 0)-    strategy.order("SHORT1",false)+    strategy.order("SHORT1",strategy.short)    EXIT_PRICE := (max_ - min_)*fibo_0381 + min_⋯

Clean v5

VerifiedDownload the v5 script

Same 1 trades and the same P&L on BTCUSDT 4h, 1,000 bars, in Zeal Terminal's engine.

  • Line 5: input() → input.source()
  • Line 12: input() → input.int()
  • Line 17: input() → input.float()
  • Line 38: input() → input.float()
  • Line 39: input() → input.float()
  • Line 40: input() → input.float()
4 more edits
  • Line 41: input() → input.float()
  • Line 42: input() → input.float()
  • Line 43: input() → input.float()
  • Line 63: input() → input.float()
⋯strategy("No-lose trading targets (Based on EoRfA) By Mustafa ÖZVER", "NLTT_EoRfA_STRATEGY", overlay=true)-ref = input(hlc3)+ref = input.source(hlc3)var line U_AREA_LINE = na⋯FPrice = ta.wma((ta.vwap + ref),3)-len = input(13,"Length")+len = input.int(13,"Length")limit0 = 1 // natural action⋯limit3 = 2.72 // hard breakout-limit = input(1.68)+limit = input.float(1.68)stdev = ta.stdev(FPrice,len)⋯U_Line = plot(U_AREA,color=SELL_AREA==1?#FF0000A0:#00000000,linewidth=2,offset=2)-fibo_0236 = input(0.23606797749979)+fibo_0236 = input.float(0.23606797749979)-fibo_0381 = input(0.38196601125011)+fibo_0381 = input.float(0.38196601125011)-fibo_0500 = input(0.5)+fibo_0500 = input.float(0.5)-fibo_0618 = input(0.61803398874990)+fibo_0618 = input.float(0.61803398874990)-fibo_0763 = input(0.76393202250021)+fibo_0763 = input.float(0.76393202250021)-fibo_1618 = input(1.61803398874990)+fibo_1618 = input.float(1.61803398874990)SelllineforBuying = fibo_0763 * (D_AREA - minLine) + minLine⋯min_ = SELL_AREA == 1 ? U_AREA : (BUY__AREA == 1 ? minLine : ref)-tolerance = input(0.015)+tolerance = input.float(0.015)verify_Revision = ta.change(max_ + min_) == 0 and max_/min_ > (tolerance+1)⋯

Does it run in Pine Script v6?

No

The v6 version runs in Zeal Terminal's engine, but its results differ from the v5 version: Trades differ: 0 before, 37 after on BTCUSDT 1D, 1,000 bars, in Zeal Terminal's engine. It is shown for reference and is not offered as a download. It differs from the v5 version by 1 edit.

⋯// © Mustafaozver-//@version=5+//@version=6strategy("No-lose trading targets (Based on EoRfA) By Mustafa ÖZVER", "NLTT_EoRfA_STRATEGY", overlay=true)⋯

Settings

Every input the script declares, with its default and what it feeds. Bounds are the ones the script enforces.

SettingDefaultType and rangeFeeds
Ref (no label in the script)hlc3sourceFPrice refLine max_ min_ plot
Length13intstdev ema
Limit (no label in the script)1.68floatBUY__SIGNAL SELL_SIGNAL
Fibo 0236 (no label in the script)0.23606797749979floatBuylineforSelling fibo_0236_line order LONG1 plot line 95
Fibo 0381 (no label in the script)0.38196601125011floatfibo_0381_line EXIT_PRICE order LONG1 plot line 95
Fibo 0500 (no label in the script)0.5floatfibo_0500_line plot
Fibo 0618 (no label in the script)0.61803398874990floatfibo_0618_line EXIT_PRICE order SHORT1 plot line 102
Fibo 0763 (no label in the script)0.76393202250021floatSelllineforBuying fibo_0763_line order SHORT1 plot line 102
Fibo 1618 (no label in the script)1.61803398874990floatfibo_1618_line1 fibo_1618_line2 plot
Tolerance (no label in the script)0.015floatverify_Revision

What it calculates

  • WMA (wma, ta.wma in v5)(vwap + ref), 3FPrice · line 11
  • Stdev (stdev, ta.stdev in v5)FPrice, Length (13)stdev · line 18
  • EMA (ema, ta.ema in v5)FPrice, Length (13)ema · line 19
  • Change (change, ta.change in v5)vEorfaBUY__SIGNAL · line 21
  • Change (change, ta.change in v5)vEorfaSELL_SIGNAL · line 22

Signal flow

How price data and settings reach the orders. Each box is a name in the script, or several computed the same way; each arrow is a value one of them reads. Hover a box for its members.

hlc3hlc3price datalenLengthsetting · 13limitLimitsetting · 1.68closecloseprice dataopenopenprice datahl2hl2price dataohlc4ohlc4price datahighhighprice datalowlowprice datafibo_0763Fibo 0763setting · 0.76393202250021fibo_0236Fibo 0236setting · 0.23606797749979fibo_0618Fibo 0618setting · 0.61803398874990fibo_0381Fibo 0381setting · 0.38196601125011toleranceTolerancesetting · 0.015timetimeprice datafibo_1618Fibo 1618setting · 1.61803398874990fibo_0500Fibo 0500setting · 0.5FPriceWMA→ FPricestdevStdev→ stdevemaEMA→ emaBUY__SIGNALChange→ BUY__SIGNALSELL_SIGNALChange→ SELL_SIGNALBUY__AREABUY__AREAvalueSELL_AREASELL_AREAvaluevEorfavEorfavalueU_AREA_, D_AREA_U_AREA_ · D_AREA_2 valuesU_AREAU_AREAvalueD_AREAD_AREAvaluemaxLinemaxLinevalueminLineminLinevalueSelllineforBuyingSelllineforBuyingvalueBuylineforSellingBuylineforSellingvaluemax_max_valuemin_min_valuefibo_ratefibo_ratevaluereportsreportsvalueEXIT_PRICEEXIT_PRICEvalueverify_Drawverify_Drawconditionverify_Revisionverify_RevisionconditionU_AREA_LINE, D_AREA_LINE, lblColourU_AREA_LINE · D_AREA_LINE +1order:LONG1order LONG1strategy.orderclose:LONG1Close LONG1strategy.closeorder:SHORT1order SHORT1strategy.orderclose:SHORT1Close SHORT1strategy.closeplot:35plotplotplot:36plotplotplot:37plotplotplot:67plotplotplot:68plotplotplot:69plotplotplot:70plotplotplot:71plotplotplot:72plotplotplot:73plotplotplot:74plotplotplot:75plotplotfill:76Fillfill × 2fill:77Fillfill × 2plotshape:80plotshapeplotshapeplotshape:81plotshapeplotshape

Order rules

OrderFires whenBy defaultLine
order LONG1 long(BUY__AREA == 1 and verify_Draw and strategy.position_size == 0.0 and fibo_rate < fibo_0381 and fibo_rate > fibo_0236 and change(vEorfa) > 0)On96
Close LONG1(EXIT_PRICE < close and strategy.position_size > 0)On100
order SHORT1 short(SELL_AREA == 1 and verify_Draw and strategy.position_size == 0.0 and fibo_rate < fibo_0763 and fibo_rate > fibo_0618 and change(vEorfa) < 0)On103
Close SHORT1(EXIT_PRICE > close and strategy.position_size < 0)On107

Each order is guarded by the setting shown. “Off” orders never fire unless that setting is switched on.

Does it repaint?

No

No repainting patterns in the source.

Not measuredNo trades to compareThe last 300 bars, from 26 Dec 2025, were fed to the engine as live ticks, but neither the live nor the historical run produced any trades in them, so the replay says nothing either way.
  • ClearHigher-timeframe dataThe script requests no other symbol or timeframe.
  • ClearFuture-bar referencesNo negative history offsets such as close[-1].
  • ClearIntrabar recalculationNo varip, calc_on_every_tick or realtime-only state. Orders are decided once per closed bar.
  • ClearOrder timingOrders fill at the next bar's open, after the signal bar has closed.

The checks read the source; the replay runs it. Together they catch the common causes, not every possible one.

Other markets

The same script with default settings on 8 Binance markets. Each row is a separate backtest over the most recent 1,000 bars.

MarketNetBuy and holdTradesWonProfit factorMax drawdownPeriod
BTCUSDT 1D0.0%+102.5%00%—74.9%26 Jan 2024 – 21 Oct 2026
BTCUSDT 4h+2.1%+5.5%1100%—10.3%8 May 2026 – 21 Oct 2026
ETHUSDT 1D+1.7%+9.8%5100%—2.5%26 Jan 2024 – 21 Oct 2026
ETHUSDT 4h+0.1%+8.4%2100%—0.6%8 May 2026 – 21 Oct 2026
SOLUSDT 1D+0.1%+16.7%5100%—0.0%26 Jan 2024 – 21 Oct 2026
SOLUSDT 4h+0.0%+21.5%3100%—0.0%8 May 2026 – 21 Oct 2026
BNBUSDT 1D+0.2%+148.3%5100%—0.5%26 Jan 2024 – 21 Oct 2026
BNBUSDT 4h+0.0%+17.1%1100%—0.2%8 May 2026 – 21 Oct 2026

Backtests are simulations on historical data and are not investment advice.

Similar scripts

Indicators and strategies built from the same calculations, run on BTCUSDT 1D with their own defaults so they can be compared directly.

ScriptSharesTypeNetTradesMax drawdown
No-lose trading targets (Based on EoRfA) By Mustafa ÖZVER this page—v4 strategy0.0%074.9%
Escaping of Rate from Avarage By Mustafa OZVER Strategy by Mustafaozverwma stdev emav4 strategy+122.0%9679.1%
SL1 Pips after TP2 (MA) by gpadiharema wmav4 strategy+0.4%330.1%
Bollinger Band with Fib Golden Ratio (0.618) by mohaneestdev emav4 strategyNo trades on this market
Volume Weighted Bollinger Bands Strategy by Ankit_1618ema stdevv4 strategy+10.0%1527.5%
BB21_MA200_Strategy by mohaneeema stdevv4 strategyNo trades on this market

Where it runs

EngineCompilesRunsMatches TradingView
Zeal Terminal · OpenPineScript v2Yes 49 msWith a workaround 1,000 bars in 96 msNot measured
PineTSNo v5 and v6 only—Not measured

Zeal Terminal's engine currently reads an order side written as true, false as a short, whatever it says; this page passes the same side as strategy.long or strategy.short (lines 96, 103) so the engine trades the way the script says.

“Matches TradingView” needs this script's own output exported from TradingView and compared bar by bar, which has not been done for this script. The engine is built on OpenPineScript, whose conformance results are in its conformance report. PineTS runs Pine Script v5 and v6 only.

Source

Copied verbatim from the author's published script, with its licence header intact. The author may have updated the original since this snapshot.

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/// © Mustafaozver//@version=4strategy("No-lose trading targets (Based on EoRfA) By Mustafa ÖZVER", "NLTT_EoRfA_STRATEGY", overlay=true)ref = input(hlc3)var line U_AREA_LINE = navar line D_AREA_LINE = naBUY__AREA = 0SELL_AREA = 0// EoRfAFPrice = wma((vwap + ref),3)len = input(13,"Length")limit0 = 1 // natural actionlimit1 = 1.66 // wave edgelimit2 = 2.58 // way to infinitivelimit3 = 2.72 // hard breakoutlimit = input(1.68)stdev = stdev(FPrice,len)ema = ema(FPrice,len)vEorfa = (FPrice - ema) / stdevBUY__SIGNAL = (vEorfa < -limit and change(vEorfa) > 0) ? 1 : 0SELL_SIGNAL = (vEorfa > +limit and change(vEorfa) < 0) ? 1 : 0U_AREA_ = min(ohlc4,hlc3,hl2,open,close)D_AREA_ = max(ohlc4,hlc3,hl2,open,close)U_AREA = U_AREA_D_AREA = D_AREA_maxLine = highminLine = lowBUY__AREA := nz(BUY__SIGNAL[1],0) == 1 ? 1 : (nz(BUY__AREA[1],0) == 1 ? 1 : 0)SELL_AREA := nz(SELL_SIGNAL[1],0) == 1 ? 1 : (nz(SELL_AREA[1],0) == 1 ? 1 : 0)U_AREA := SELL_AREA == 1 ? nz(U_AREA[1],U_AREA_) : U_AREA_D_AREA := BUY__AREA == 1 ? nz(D_AREA[1],D_AREA_) : D_AREA_maxLine := SELL_AREA == 1 ? max(nz(maxLine[1],0),high) : highminLine := BUY__AREA == 1 ? min(nz(minLine[1],0),low) : lowrefLine = plot(ref,color=#00000000,display=display.none,offset=1)D_Line = plot(D_AREA,color=BUY__AREA==1?#00FF00A0:#00000000,linewidth=2,offset=2)U_Line = plot(U_AREA,color=SELL_AREA==1?#FF0000A0:#00000000,linewidth=2,offset=2)fibo_0236 = input(0.23606797749979)fibo_0381 = input(0.38196601125011)fibo_0500 = input(0.5)fibo_0618 = input(0.61803398874990)fibo_0763 = input(0.76393202250021)fibo_1618 = input(1.61803398874990)SelllineforBuying = fibo_0763 * (D_AREA - minLine) + minLineBuylineforSelling = fibo_0236 * (maxLine - U_AREA) + U_AREA//if (U_AREA < close)//    line.set_x2(U_AREA_LINE,bar_index)//if (D_AREA > close)//    line.set_x2(D_AREA_LINE,bar_index)if (U_AREA >= min(close,open) or BUY__SIGNAL == 1 or nz(BuylineforSelling[1],low) > close)    SELL_AREA := 0if (D_AREA <= max(close,open) or SELL_SIGNAL == 1 or nz(SelllineforBuying[1],high) < close)    BUY__AREA := 0if (SELL_AREA == 0 and SELL_SIGNAL == 1)    U_AREA_LINE := line.new(bar_index-1, U_AREA, bar_index+5, U_AREA, xloc.bar_index, extend.none, #FF0000A0, line.style_solid, 3)if (BUY__AREA == 0 and BUY__SIGNAL == 1)    D_AREA_LINE := line.new(bar_index-1, D_AREA, bar_index+5, D_AREA, xloc.bar_index, extend.none, #00FF00A0, line.style_solid, 3)//fill(D_Line, refLine, color=BUY__AREA==1?#00FF0020:#00000000)//fill(U_Line, refLine, color=SELL_AREA==1?#FF000020:#00000000)// draw fibonaccimax_ = BUY__AREA == 1 ? D_AREA : (SELL_AREA == 1 ? maxLine : ref)min_ = SELL_AREA == 1 ? U_AREA : (BUY__AREA == 1 ? minLine : ref)tolerance = input(0.015)verify_Revision = change(max_ + min_) == 0 and max_/min_ > (tolerance+1)verify_Draw = (BUY__AREA == 1 or SELL_AREA == 1) and verify_Revisionfibo_rate = (close - min_) / (max_ - min_)fibo_0000_line = plot(min_,color=(BUY__AREA==1 and verify_Revision)?#FFFFFF80:#00000000,linewidth=2)fibo_1000_line = plot(max_,color=(SELL_AREA==1 and verify_Revision)?#FFFFFF80:#00000000,linewidth=2)fibo_1618_line1 = plot((max_ - min_)*fibo_1618 + min_,color=(verify_Draw?#FF000050:#00000000),linewidth=2)fibo_1618_line2 = plot(-(max_ - min_)*fibo_1618 + min_,color=(verify_Draw?#00FF0050:#00000000),linewidth=2)fibo_0236_line = plot((max_ - min_)*fibo_0236 + min_,color=(verify_Draw?#FFFFFF50:#00000000),linewidth=1)fibo_0381_line = plot((max_ - min_)*fibo_0381 + min_,color=(verify_Draw?#00FF0080:#00000000),linewidth=1)fibo_0500_line = plot((max_ - min_)*fibo_0500 + min_,color=(verify_Draw?#FFFFFF50:#00000000),linewidth=1)fibo_0618_line = plot((max_ - min_)*fibo_0618 + min_,color=(verify_Draw?#FF000080:#00000000),linewidth=1)fibo_0763_line = plot((max_ - min_)*fibo_0763 + min_,color=(verify_Draw?#FFFFFF50:#00000000),linewidth=1)fill(fibo_0236_line, fibo_0381_line, color=verify_Draw==1?#00FF0020:#00000000)fill(fibo_0763_line, fibo_0618_line, color=verify_Draw==1?#FF000020:#00000000)//min_Line = plot(SelllineforBuying,color=BUY__AREA==1?#FF000080:#00000000,linewidth=2)//max_Line = plot(BuylineforSelling,color=SELL_AREA==1?#00FF0080:#00000000,linewidth=2)plotshape(BUY__SIGNAL == 1 and BUY__AREA == 0,style=shape.triangledown,location=location.abovebar,color=#00FF00FF,size=size.auto)plotshape(SELL_SIGNAL == 1 and SELL_AREA == 0,style=shape.triangleup,  location=location.belowbar,color=#FF0000FF,size=size.auto)// Reportvar label lbl = nalabel.delete(lbl)if (verify_Draw)    var string reports = ""    reports := reports + (BUY__AREA==1?"LONG":"")    reports := reports + (SELL_AREA==1?"SHORT":"")    reports := reports + " SETUP => % " + tostring(round((max_-min_)*0.5/close*10000)/100)    lbl := label.new(x=barstate.islast ? time : na,y=max_,text=reports,xloc=xloc.bar_time,color=#2020AA,textcolor=#FFFFFF)    reports := ""//alertcondition(condition=verify_Draw, title="Trading Setup from NLTTa_EoRfA", message="Trading setup action from NLTTa based on EoRfA")EXIT_PRICE = 0.0EXIT_PRICE := nz(EXIT_PRICE[1],0.0)if (BUY__AREA == 1 and verify_Draw and strategy.position_size == 0.0 and fibo_rate < fibo_0381 and fibo_rate > fibo_0236 and change(vEorfa) > 0)    strategy.order("LONG1",true)    EXIT_PRICE := (max_ - min_)*fibo_0618 + min_if (EXIT_PRICE < close and strategy.position_size > 0)    //line.new(bar_index-1, U_AREA*1.03, bar_index+1, U_AREA*0.97, xloc.bar_index, extend.none, #FFFFFF, line.style_solid, 3)    strategy.close("LONG1")    EXIT_PRICE := 0.0if (SELL_AREA == 1 and verify_Draw and strategy.position_size == 0.0 and fibo_rate < fibo_0763 and fibo_rate > fibo_0618 and change(vEorfa) < 0)    strategy.order("SHORT1",false)    EXIT_PRICE := (max_ - min_)*fibo_0381 + min_if (EXIT_PRICE > close and strategy.position_size < 0)    //line.new(bar_index-1, U_AREA*1.03, bar_index+1, U_AREA*0.97, xloc.bar_index, extend.none, #FFFFFF, line.style_solid, 3)    strategy.close("SHORT1")    EXIT_PRICE := 0.0