himansu.altradegroup

Pivot Points H/L by Himansu

170 5 11
Im not able to figure out why the strategy.exit only stays for one candle. I was trying to let the trade open till it hits Target or StopLoss.
Will really appreciate some help here.
Remove from Favorite Scripts Add to Favorite Scripts
himansu.altradegroup Virtual_Machinist
@Virtual_Machinist, Yep this was repaints.
Reply
Disclaimer: This one repaints and there are few errors in the coding, which results in such high win percentage. Please refrain from using it on live trading.
Reply
maybe I can try to take a look. could you please explain where the target is in in the picture?
Reply
@EatsMyLife,
Thanks mate!
The Traget and StopLoss is mentioned in the exit strategy:
strategy.exit("Exit Short", from_entry = "Short", profit = profitpoints,loss = stoplosspoints, trail_points = trailstoploss)

where the "profitpoints and stoplosspoints are hardcoded at the begining itself.
Reply
EN English (IN)
EN English
EN English (UK)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
HE עברית
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out