یک استراتژی اسکریپت کاج V1 را به V4 تبدیل کنید

ساخت وبلاگ

من خیلی تلاش می کنم اما متأسفانه نمی توانم این استراتژی نمای تجارت استراتژی را به اسکریپت کاج v4 تبدیل کنم آیا ممکن است در این مورد به من کمک کند. من خیلی در مورد این مورد جستجو می کنم اما نمی توانم مشکل خود را حل کنم لطفا به من کمک کنید. و نکته دیگر ، آیا Pine Script یک برنامه نویسی فیتون است؟فقط 1 مرجع برای اسکریپت کاج وجود دارد و این واقعاً کامل نیست ، فکر می کنم آیا مرجع خوبی برای این زبان وجود دارد؟

strategy(title='Sepehr Heydari Hi Crypto Test Project', overlay=true, currency=currency.USD) useHA = input(false, title='Use Heikken Ashi Candles') useAltTF = input(true, title='Use Alt Timeframe') tf = input('60', title='Alt Timeframe') showPattes = input(true, title='Show Pattes') showFib0000 = input(title='Display Fibonacci 0.000:', type=bool, defval=true) showFib0236 = input(title='Display Fibonacci 0.236:', type=bool, defval=true) showFib0382 = input(title='Display Fibonacci 0.382:', type=bool, defval=true) showFib0500 = input(title='Display Fibonacci 0.500:', type=bool, defval=true) showFib0618 = input(title='Display Fibonacci 0.618:', type=bool, defval=true) showFib0764 = input(title='Display Fibonacci 0.764:', type=bool, defval=true) showFib1000 = input(title='Display Fibonacci 1.000:', type=bool, defval=true) zigzag() => _isUp = close>= open _isDown = close Functions: isBat(_mode)=> _xab = xab>= 0.382 and xab = 0.382 and abc = 1.618 and bcd c) isAntiBat(_mode)=> _xab = xab>= 0.500 and xab = 1.000 and abc 2.618 _bcd = bcd>= 1.618 and bcd 2.618 _xad = xad>= 0.886 and xad c) isAltBat(_mode)=> _xab = xab = 0.382 and abc = 2.0 and bcd c) isButterfly(_mode)=> _xab = xab = 0.382 and abc = 1.618 and bcd = 1.27 and xad c) isAntiButterfly(_mode)=> _xab = xab>= 0.236 and xab = 1.130 and abc = 1.000 and bcd = 0.500 and xad c) isABCD(_mode)=> _abc = abc>= 0.382 and abc = 1.13 and bcd c) isGartley(_mode)=> _xab = xab>= 0.5 and xab = 0.382 and abc = 1.13 and bcd = 0.75 and xad c) isAntiGartley(_mode)=> _xab = xab>= 0.500 and xab 0.786 _abc = abc>= 1.000 and abc 2.618 _bcd = bcd>= 1.500 and bcd = 1.000 and xad c) isCrab(_mode)=> _xab = xab>= 0.500 and xab = 0.382 and abc = 2.000 and bcd = 1.382 and xad c) isAntiCrab(_mode)=> _xab = xab>= 0.250 and xab 0.446 _abc = abc>= 1.130 and abc 2.618 _bcd = bcd>= 1.618 and bcd 2.618 _xad = xad>= 0.500 and xad c) isShark(_mode)=> _xab = xab>= 0.500 and xab 0.886 _abc = abc>= 1. 130 و ABC = 1. 270 و BCD = 0. 886 و XAD 1. 13 _xab و _abc و _bcd و _xad و (_mode == 1؟ Dc) isAntiShark(_mode)=> _xab = xab>= 0.382 and xab 0.618 _abc = abc>= 0.500 and abc 0.886 _bcd = bcd>= 1.250 and bcd 2.618 _xad = xad>= 0. 500 و xad 1. 130 _xab و _abc و _bcd و _xad و (_mode == 1؟ dc) is5o(_mode)=> _xab = xab>= 1.13 and xab = 1.618 and abc = 0.5 and bcd = 0.0 and xad c) isWolf(_mode)=> _xab = xab>= 1.27 and xab = 0 and abc = 1.27 and bcd = 0.0 and xad c) isHnS(_mode)=> _xab = xab>= 2.0 and xab = 0.90 and abc = 0.236 and bcd = 0.90 and xad c) isConTria(_mode)=> _xab = xab>= 0.382 and xab = 0.382 and abc = 0.382 and bcd = 0.236 and xad c) isExpTria(_mode)=> _xab = xab>= 1.236 and xab = 1.000 and abc = 1.236 and bcd = 2.000 and xad c) plotshape(not showPattes ? na : isABCD(-1) and not isABCD(-1)[1], text="
AB=CD", title='Bear ABCD', style=shape.labeldown, color=maroon, textcolor=white, location=location.top, transp=0, offset=-2) plotshape(not showPattes ? na : isBat(-1) and not isBat(-1)[1], text="Bat", title='Bear Bat', style=shape.labeldown, color=maroon, textcolor=white, location=location.top, transp=0, offset=-2) plotshape(not showPattes ? na : isAntiBat(-1) and not isAntiBat(-1)[1], text="Anti Bat", title='Bear Anti Bat', style=shape.labeldown, color=maroon, textcolor=white, location=location.top, transp=0, offset=-2) plotshape(not showPattes ? na : isAltBat(-1) and not isAltBat(-1)[1], text="Alt Bat", title='Bear Alt Bat', style=shape.labeldown, color=maroon, textcolor=white, location=location.top, transp=0) plotshape(not showPattes ? na : isButterfly(-1) and not isButterfly(-1)[1], text="Butterfly", title='Bear Butterfly', style=shape.labeldown, color=maroon, textcolor=white, location=location.top, transp=0) plotshape(not showPattes ? na : isAntiButterfly(-1) and not isAntiButterfly(-1)[1], text="Anti Butterfly", title='Bear Anti Butterfly', style=shape.labeldown, color=maroon, textcolor=white, location=location.top, transp=0) plotshape(not showPattes ? na : isGartley(-1) and not isGartley(-1)[1], text="Gartley", title='Bear Gartley', style=shape.labeldown, color=maroon, textcolor=white, location=location.top, transp=0) plotshape(not showPattes ? na : isAntiGartley(-1) and not isAntiGartley(-1)[1], text="Anti Gartley", title='Bear Anti Gartley', style=shape.labeldown, color=maroon, textcolor=white, location=location.top, transp=0) plotshape(not showPattes ? na : isCrab(-1) and not isCrab(-1)[1], text="Crab", title='Bear Crab', style=shape.labeldown, color=maroon, textcolor=white, location=location.top, transp=0) plotshape(not showPattes ? na : isAntiCrab(-1) and not isAntiCrab(-1)[1], text="Anti Crab", title='Bear Anti Crab', style=shape.labeldown, color=maroon, textcolor=white, location=location.top, transp=0) plotshape(not showPattes ? na : isShark(-1) and not isShark(-1)[1], text="Shark", title='Bear Shark', style=shape.labeldown, color=maroon, textcolor=white, location=location.top, transp=0) plotshape(not showPattes ? na : isAntiShark(-1) and not isAntiShark(-1)[1], text="Anti Shark", title='Bear Anti Shark', style=shape.labeldown, color=maroon, textcolor=white, location=location.top, transp=0) plotshape(not showPattes ? na : is5o(-1) and not is5o(-1)[1], text="5-O", title='Bear 5-O', style=shape.labeldown, color=maroon, textcolor=white, location=location.top, transp=0) plotshape(not showPattes ? na : isWolf(-1) and not isWolf(-1)[1], text="Wolf Wave", title='Bear Wolf Wave', style=shape.labeldown, color=maroon, textcolor=white, location=location.top, transp=0) plotshape(not showPattes ? na : isHnS(-1) and not isHnS(-1)[1], text="Head and Shoulders", title='Bear Head and Shoulders', style=shape.labeldown, color=maroon, textcolor=white, location=location.top, transp=0) plotshape(not showPattes ? na : isConTria(-1) and not isConTria(-1)[1], text="Contracting Triangle", title='Bear Contracting triangle', style=shape.labeldown, color=maroon, textcolor=white, location=location.top, transp=0) plotshape(not showPattes ? na : isExpTria(-1) and not isExpTria(-1)[1], text="Expanding Triangle", title='Bear Expanding Triangle', style=shape.labeldown, color=maroon, textcolor=white, location=location.top, transp=0) plotshape(not showPattes ? na : isABCD(1) and not isABCD(1)[1], text="AB=CD
", title='Bull ABCD', style=shape.labelup, color=green, textcolor=white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isBat(1) and not isBat(1)[1], text="Bat", title='Bull Bat', style=shape.labelup, color=green, textcolor=white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isAntiBat(1) and not isAntiBat(1)[1], text="Anti Bat", title='Bull Anti Bat', style=shape.labelup, color=green, textcolor=white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isAltBat(1) and not isAltBat(1)[1], text="Alt Bat", title='Bull Alt Bat', style=shape.labelup, color=green, textcolor=white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isButterfly(1) and not isButterfly(1)[1], text="Butterfly", title='Bull Butterfly', style=shape.labelup, color=green, textcolor=white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isAntiButterfly(1) and not isAntiButterfly(1)[1], text="Anti Butterfly", title='Bull Anti Butterfly', style=shape.labelup, color=green, textcolor=white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isGartley(1) and not isGartley(1)[1], text="Gartley", title='Bull Gartley', style=shape.labelup, color=green, textcolor=white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isAntiGartley(1) and not isAntiGartley(1)[1], text="Anti Gartley", title='Bull Anti Gartley', style=shape.labelup, color=green, textcolor=white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isCrab(1) and not isCrab(1)[1], text="Crab", title='Bull Crab', style=shape.labelup, color=green, textcolor=white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isAntiCrab(1) and not isAntiCrab(1)[1], text="Anti Crab", title='Bull Anti Crab', style=shape.labelup, color=green, textcolor=white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isShark(1) and not isShark(1)[1], text="Shark", title='Bull Shark', style=shape.labelup, color=green, textcolor=white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isAntiShark(1) and not isAntiShark(1)[1], text="Anti Shark", title='Bull Anti Shark', style=shape.labelup, color=green, textcolor=white, location=location.bottom, transp=0) plotshape(not showPattes ? na : is5o(1) and not is5o(1)[1], text="5-O", title='Bull 5-O', style=shape.labelup, color=green, textcolor=white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isWolf(1) and not isWolf(1)[1], text="Wolf Wave", title='Bull Wolf Wave', style=shape.labelup, color=green, textcolor=white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isHnS(1) and not isHnS(1)[1], text="Head and Shoulders", title='Bull Head and Shoulders', style=shape.labelup, color=green, textcolor=white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isConTria(1) and not isConTria(1)[1], text="Contracting Triangle", title='Bull Contracting Triangle', style=shape.labelup, color=green, textcolor=white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isExpTria(1) and not isExpTria(1)[1], text="Expanding Triangle", title='Bull Expanding Triangle', style=shape.labelup, color=green, textcolor=white, location=location.bottom, transp=0) //------------------------------------------------------------------------------------------------------------------------------------------------------------- fib_range = abs(d-c) fib_0000 = not showFib0000 ? na : d> c ? d-(fib_range*0.000):d+(fib_range*0.000) fib_0236 = not showFib0236 ? na : d> c ? d-(fib_range*0.236):d+(fib_range*0.236) fib_0382 = not showFib0382 ? na : d> c ? d-(fib_range*0.382):d+(fib_range*0.382) fib_0500 = not showFib0500 ? na : d> c ? d-(fib_range*0.500):d+(fib_range*0.500) fib_0618 = not showFib0618 ? na : d> c ? d-(fib_range*0.618):d+(fib_range*0.618) fib_0764 = not showFib0764 ? na : d> c ? d-(fib_range*0.764):d+(fib_range*0.764) fib_1000 = not showFib1000 ? na : d> c ? d-(fib_range*1.000):d+(fib_range*1.000) plot(title='Fib 0.000', series=fib_0000, color=fib_0000 != fib_0000[1] ? na : black) plot(title='Fib 0.236', series=fib_0236, color=fib_0236 != fib_0236[1] ? na : red) plot(title='Fib 0.382', series=fib_0382, color=fib_0382 != fib_0382[1] ? na : olive) plot(title='Fib 0.500', series=fib_0500, color=fib_0500 != fib_0500[1] ? na : lime) plot(title='Fib 0.618', series=fib_0618, color=fib_0618 != fib_0618[1] ? na : teal) plot(title='Fib 0.764', series=fib_0764, color=fib_0764 != fib_0764[1] ? na : blue) plot(title='Fib 1.000', series=fib_1000, color=fib_1000 != fib_1000[1] ? na : black) bgcolor(not useAltTF ? na : change(time(tf))!=0?black:na) f_last_fib(_rate)=>d>ج؟d- (fib_range*_rate): d+(fib_range*_rate) target01_trade_size = ورودی (عنوان = 'هدف 1 - اندازه تجارت:' ، نوع = float ، defval = 10000. 00) target01_ew_rate = ورودی (عنوان = 'هدف 1 - فیبر. برای استفاده برای پنجره ورودی: '، نوع = float ، defval = 0. 236) target01_tp_rate = ورودی (عنوان =' هدف 1 - فیبر. میزان استفاده برای TP: '، نوع = float ، defval = 0. 618) target01_sl_rate = ورودی (عنوان = عنوان ="هدف 1 - فیبر. میزان استفاده برای SL: '، نوع = float ، defval = -0. 236) target02_active = ورودی (عنوان =' هدف 2 - فعال؟ '، نوع = bool ، defval = false) target02_trade_size = ورودی (عنوان= 'هدف 2 - اندازه تجارت:' ، نوع = float ، defval = 10000. 00) target02_ew_rate = ورودی (عنوان = 'هدف 2 - فیبر. نرخ استفاده برای پنجره ورودی:' ، نوع = float ، defval = 0. 236) target02_tp_rate = ورودی.= -0. 236) buy_pattes_00 = isabcd (1) یا isbat (1) یا isaltbat (1) یا isbutterfly (1) یا isgartley (1) یا iscrab (1) یا استکوسه (1) یا is5o (1) یا iswolf (1) یا ishns (1) یا iscontria (1) یا isexptria (1) buy_pattes_01 = isantibat (1) یا isantibutterfly (1) یا iSantigartley (1) یا Isanticrab (1)یا iSantishark (1) SEL_PATTERNS_00 = ISABCD (-1) یا ISBAT (-1) یا ISALTBAT (-1) یا ISBUTTERFLY (-1) یا ISGARTLEY (-1) یا ISCRAB (-1) یا ISSHARK (-1) یا IS5O یا IS5O 

دنبال کردن از 10 مه 2021 در 21:06 پرسید سپهر حیدری سپهور حیدری

1 پاسخ 1

مرتب شده توسط: تنظیم مجدد به طور پیش فرض

این کامپایل خواهد شد اما نتایج آن با اصل مطابقت ندارد. به شما برای عیب یابی دلتاها:

//@version=4 strategy(title='Sepehr Heydari Hi Crypto Test Project v4', overlay=true, currency=currency.USD) useHA = input(false, title='Use Heikken Ashi Candles') useAltTF = input(true, title='Use Alt Timeframe') tf = input('60', title='Alt Timeframe') showPattes = input(true, title='Show Pattes') showFib0000 = input(title='Display Fibonacci 0.000:', type=input.bool, defval=true) showFib0236 = input(title='Display Fibonacci 0.236:', type=input.bool, defval=true) showFib0382 = input(title='Display Fibonacci 0.382:', type=input.bool, defval=true) showFib0500 = input(title='Display Fibonacci 0.500:', type=input.bool, defval=true) showFib0618 = input(title='Display Fibonacci 0.618:', type=input.bool, defval=true) showFib0764 = input(title='Display Fibonacci 0.764:', type=input.bool, defval=true) showFib1000 = input(title='Display Fibonacci 1.000:', type=input.bool, defval=true) zigzag() => _isUp = close>= open _isDown = close Functions: isBat(_mode)=> _xab = xab>= 0.382 and xab = 0.382 and abc = 1.618 and bcd c) isAntiBat(_mode)=> _xab = xab>= 0.500 and xab = 1.000 and abc 2.618 _bcd = bcd>= 1.618 and bcd 2.618 _xad = xad>= 0.886 and xad c) isAltBat(_mode)=> _xab = xab = 0.382 and abc = 2.0 and bcd c) isButterfly(_mode)=> _xab = xab = 0.382 and abc = 1.618 and bcd = 1.27 and xad c) isAntiButterfly(_mode)=> _xab = xab>= 0.236 and xab = 1.130 and abc = 1.000 and bcd = 0.500 and xad c) isABCD(_mode)=> _abc = abc>= 0.382 and abc = 1.13 and bcd c) isGartley(_mode)=> _xab = xab>= 0.5 and xab = 0.382 and abc = 1.13 and bcd = 0.75 and xad c) isAntiGartley(_mode)=> _xab = xab>= 0.500 and xab 0.786 _abc = abc>= 1.000 and abc 2.618 _bcd = bcd>= 1.500 and bcd = 1.000 and xad c) isCrab(_mode)=> _xab = xab>= 0.500 and xab = 0.382 and abc = 2.000 and bcd = 1.382 and xad c) isAntiCrab(_mode)=> _xab = xab>= 0.250 and xab 0.446 _abc = abc>= 1.130 and abc 2.618 _bcd = bcd>= 1.618 and bcd 2.618 _xad = xad>= 0.500 and xad c) isShark(_mode)=> _xab = xab>= 0.500 and xab 0.886 _abc = abc>= 1. 130 و ABC = 1. 270 و BCD = 0. 886 و XAD 1. 13 _xab و _abc و _bcd و _xad و (_mode == 1؟ Dc) isAntiShark(_mode)=> _xab = xab>= 0.382 and xab 0.618 _abc = abc>= 0.500 and abc 0.886 _bcd = bcd>= 1.250 and bcd 2.618 _xad = xad>= 0. 500 و xad 1. 130 _xab و _abc و _bcd و _xad و (_mode == 1؟ dc) is5o(_mode)=> _xab = xab>= 1.13 and xab = 1.618 and abc = 0.5 and bcd = 0.0 and xad c) isWolf(_mode)=> _xab = xab>= 1.27 and xab = 0 and abc = 1.27 and bcd = 0.0 and xad c) isHnS(_mode)=> _xab = xab>= 2.0 and xab = 0.90 and abc = 0.236 and bcd = 0.90 and xad c) isConTria(_mode)=> _xab = xab>= 0.382 and xab = 0.382 and abc = 0.382 and bcd = 0.236 and xad c) isExpTria(_mode)=> _xab = xab>= 1.236 and xab = 1.000 and abc = 1.236 and bcd = 2.000 and xad c) plotshape(not showPattes ? na : isABCD(-1) and not isABCD(-1)[1], text="
AB=CD", title='Bear ABCD', style=shape.labeldown, color=color.maroon, textcolor=color.white, location=location.top, transp=0, offset=-2) plotshape(not showPattes ? na : isBat(-1) and not isBat(-1)[1], text="Bat", title='Bear Bat', style=shape.labeldown, color=color.maroon, textcolor=color.white, location=location.top, transp=0, offset=-2) plotshape(not showPattes ? na : isAntiBat(-1) and not isAntiBat(-1)[1], text="Anti Bat", title='Bear Anti Bat', style=shape.labeldown, color=color.maroon, textcolor=color.white, location=location.top, transp=0, offset=-2) plotshape(not showPattes ? na : isAltBat(-1) and not isAltBat(-1)[1], text="Alt Bat", title='Bear Alt Bat', style=shape.labeldown, color=color.maroon, textcolor=color.white, location=location.top, transp=0) plotshape(not showPattes ? na : isButterfly(-1) and not isButterfly(-1)[1], text="Butterfly", title='Bear Butterfly', style=shape.labeldown, color=color.maroon, textcolor=color.white, location=location.top, transp=0) plotshape(not showPattes ? na : isAntiButterfly(-1) and not isAntiButterfly(-1)[1], text="Anti Butterfly", title='Bear Anti Butterfly', style=shape.labeldown, color=color.maroon, textcolor=color.white, location=location.top, transp=0) plotshape(not showPattes ? na : isGartley(-1) and not isGartley(-1)[1], text="Gartley", title='Bear Gartley', style=shape.labeldown, color=color.maroon, textcolor=color.white, location=location.top, transp=0) plotshape(not showPattes ? na : isAntiGartley(-1) and not isAntiGartley(-1)[1], text="Anti Gartley", title='Bear Anti Gartley', style=shape.labeldown, color=color.maroon, textcolor=color.white, location=location.top, transp=0) plotshape(not showPattes ? na : isCrab(-1) and not isCrab(-1)[1], text="Crab", title='Bear Crab', style=shape.labeldown, color=color.maroon, textcolor=color.white, location=location.top, transp=0) plotshape(not showPattes ? na : isAntiCrab(-1) and not isAntiCrab(-1)[1], text="Anti Crab", title='Bear Anti Crab', style=shape.labeldown, color=color.maroon, textcolor=color.white, location=location.top, transp=0) plotshape(not showPattes ? na : isShark(-1) and not isShark(-1)[1], text="Shark", title='Bear Shark', style=shape.labeldown, color=color.maroon, textcolor=color.white, location=location.top, transp=0) plotshape(not showPattes ? na : isAntiShark(-1) and not isAntiShark(-1)[1], text="Anti Shark", title='Bear Anti Shark', style=shape.labeldown, color=color.maroon, textcolor=color.white, location=location.top, transp=0) plotshape(not showPattes ? na : is5o(-1) and not is5o(-1)[1], text="5-O", title='Bear 5-O', style=shape.labeldown, color=color.maroon, textcolor=color.white, location=location.top, transp=0) plotshape(not showPattes ? na : isWolf(-1) and not isWolf(-1)[1], text="Wolf Wave", title='Bear Wolf Wave', style=shape.labeldown, color=color.maroon, textcolor=color.white, location=location.top, transp=0) plotshape(not showPattes ? na : isHnS(-1) and not isHnS(-1)[1], text="Head and Shoulders", title='Bear Head and Shoulders', style=shape.labeldown, color=color.maroon, textcolor=color.white, location=location.top, transp=0) plotshape(not showPattes ? na : isConTria(-1) and not isConTria(-1)[1], text="Contracting Triangle", title='Bear Contracting triangle', style=shape.labeldown, color=color.maroon, textcolor=color.white, location=location.top, transp=0) plotshape(not showPattes ? na : isExpTria(-1) and not isExpTria(-1)[1], text="Expanding Triangle", title='Bear Expanding Triangle', style=shape.labeldown, color=color.maroon, textcolor=color.white, location=location.top, transp=0) plotshape(not showPattes ? na : isABCD(1) and not isABCD(1)[1], text="AB=CD
", title='Bull ABCD', style=shape.labelup, color=color.green, textcolor=color.white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isBat(1) and not isBat(1)[1], text="Bat", title='Bull Bat', style=shape.labelup, color=color.green, textcolor=color.white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isAntiBat(1) and not isAntiBat(1)[1], text="Anti Bat", title='Bull Anti Bat', style=shape.labelup, color=color.green, textcolor=color.white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isAltBat(1) and not isAltBat(1)[1], text="Alt Bat", title='Bull Alt Bat', style=shape.labelup, color=color.green, textcolor=color.white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isButterfly(1) and not isButterfly(1)[1], text="Butterfly", title='Bull Butterfly', style=shape.labelup, color=color.green, textcolor=color.white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isAntiButterfly(1) and not isAntiButterfly(1)[1], text="Anti Butterfly", title='Bull Anti Butterfly', style=shape.labelup, color=color.green, textcolor=color.white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isGartley(1) and not isGartley(1)[1], text="Gartley", title='Bull Gartley', style=shape.labelup, color=color.green, textcolor=color.white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isAntiGartley(1) and not isAntiGartley(1)[1], text="Anti Gartley", title='Bull Anti Gartley', style=shape.labelup, color=color.green, textcolor=color.white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isCrab(1) and not isCrab(1)[1], text="Crab", title='Bull Crab', style=shape.labelup, color=color.green, textcolor=color.white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isAntiCrab(1) and not isAntiCrab(1)[1], text="Anti Crab", title='Bull Anti Crab', style=shape.labelup, color=color.green, textcolor=color.white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isShark(1) and not isShark(1)[1], text="Shark", title='Bull Shark', style=shape.labelup, color=color.green, textcolor=color.white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isAntiShark(1) and not isAntiShark(1)[1], text="Anti Shark", title='Bull Anti Shark', style=shape.labelup, color=color.green, textcolor=color.white, location=location.bottom, transp=0) plotshape(not showPattes ? na : is5o(1) and not is5o(1)[1], text="5-O", title='Bull 5-O', style=shape.labelup, color=color.green, textcolor=color.white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isWolf(1) and not isWolf(1)[1], text="Wolf Wave", title='Bull Wolf Wave', style=shape.labelup, color=color.green, textcolor=color.white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isHnS(1) and not isHnS(1)[1], text="Head and Shoulders", title='Bull Head and Shoulders', style=shape.labelup, color=color.green, textcolor=color.white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isConTria(1) and not isConTria(1)[1], text="Contracting Triangle", title='Bull Contracting Triangle', style=shape.labelup, color=color.green, textcolor=color.white, location=location.bottom, transp=0) plotshape(not showPattes ? na : isExpTria(1) and not isExpTria(1)[1], text="Expanding Triangle", title='Bull Expanding Triangle', style=shape.labelup, color=color.green, textcolor=color.white, location=location.bottom, transp=0) //------------------------------------------------------------------------------------------------------------------------------------------------------------- fib_range = abs(d-c) fib_0000 = not showFib0000 ? na : d> c ? d-(fib_range*0.000):d+(fib_range*0.000) fib_0236 = not showFib0236 ? na : d> c ? d-(fib_range*0.236):d+(fib_range*0.236) fib_0382 = not showFib0382 ? na : d> c ? d-(fib_range*0.382):d+(fib_range*0.382) fib_0500 = not showFib0500 ? na : d> c ? d-(fib_range*0.500):d+(fib_range*0.500) fib_0618 = not showFib0618 ? na : d> c ? d-(fib_range*0.618):d+(fib_range*0.618) fib_0764 = not showFib0764 ? na : d> c ? d-(fib_range*0.764):d+(fib_range*0.764) fib_1000 = not showFib1000 ? na : d> c ? d-(fib_range*1.000):d+(fib_range*1.000) plot(title='Fib 0.000', series=fib_0000, color=fib_0000 != fib_0000[1] ? na : color.black) plot(title='Fib 0.236', series=fib_0236, color=fib_0236 != fib_0236[1] ? na : color.red) plot(title='Fib 0.382', series=fib_0382, color=fib_0382 != fib_0382[1] ? na : color.olive) plot(title='Fib 0.500', series=fib_0500, color=fib_0500 != fib_0500[1] ? na : color.lime) plot(title='Fib 0.618', series=fib_0618, color=fib_0618 != fib_0618[1] ? na : color.teal) plot(title='Fib 0.764', series=fib_0764, color=fib_0764 != fib_0764[1] ? na : color.blue) plot(title='Fib 1.000', series=fib_1000, color=fib_1000 != fib_1000[1] ? na : color.black) bgcolor(not useAltTF ? na : change(time(tf))!=0?color.black:na) f_last_fib(_rate)=>d>ج؟D- (fib_range*_rate): d+(fib_range*_rate) target01_trade_size = ورودی (عنوان = 'هدف 1 - اندازه تجارت:' ، نوع = ورودی ، defval = 10000. 00) target01_ew_rate = input = 'title =' هدف 1 - فیبرمیزان استفاده برای پنجره ورودی: '، نوع = input. float ، defval = 0. 236) target01_tp_rate = ورودی (عنوان =' هدف 1 - فیبر. میزان استفاده برای TP: '، نوع = input. float ، defval = 0. 618)Target01_SL_RATE = ورودی (عنوان = 'هدف 1 - فیبر. میزان استفاده برای SL:' ، نوع = input. float ، defval = -0. 236) target02_active = ورودی (عنوان = 'هدف 2 - فعال؟' ، نوع = input. bool، defval = false) target02_trade_size = ورودی (عنوان = 'هدف 2 - اندازه تجارت:' ، نوع = input. float ، defval = 10000. 00) target02_ew_rate = input (عنوان = 'هدف 2 - FIB. نرخ استفاده را برای استفاده برای پنجره ورودی:'، type = input. float ، defval = 0. 236) target02_tp_rate = ورودی (عنوان = 'هدف 2 - فیبر. میزان استفاده برای TP:' ، نوع = input. float ، defval = 1. 618) target02_sl_rate = ورودی (عنوان = 'هدف 2- فیبر نرخ استفاده برای SL: '، نوع = input. float ، defval = -0. 236) buy_pattes_00 = isabcd (1) یا isbat (1) یا isaltbat (1) یا isbutterfly (1) یا isgartley (1) یا iscrab (1) یا isshark (1) یا is5o (1) یا iswolf (1) یا isns (1) یا iscontria (1) یا isexptria (1) buy_pattes_01 = isantibat (1) یا iSantibutterfly (1) یا iSantigartley (1) یا iSanticrab (1) یا iSantishark (1) SEL_PATTERNS_00 = ISABCD (-1) یا ISBAT (-1) یا ISALTBAT (-1) یا ISBUTERFLY (-1) یا ISGARTLEY (ISGARTLEY)-1) یا iscrab (-1) یا isshark (-1) یا is5o (-1) یا iswolf (-1) یا ishns (-1) یا iscontria (-1) یا isexptria (-1) sel_pattes_01 = isantibat (--1) یا iSantibutterfly (-1) یا iSantigartley (-1) یا iSanticrab (-1) یا iSantishark (-1) Target01_buy_entry = (buy_pattes_00 یا buy_pattes_01) و نزدیک = f_last_fib (target01_tp_tp_rate)) یا f_last_last_last_last_last_rate)= f_last_fib (Target01_SL_RATE) 
تجارت گزینه های دودویی در ایران...
ما را در سایت تجارت گزینه های دودویی در ایران دنبال می کنید

برچسب : نویسنده : زین‌العابدین مراغه‌ای بازدید : <-PostHit-> تاريخ : يکشنبه 4 تير 1402 ساعت: 18:04