OPEN-SOURCE SCRIPT
מעודכן CNPS10 - SMA/PSAR

This is a trend following trading system based on SMA signals, filtered and trailing stop by Parabolic SAR, served for VN30F1M
הערות שחרור
CNPS_10 — SMA / Parabolic SARIndicators
SMA(14) on close for trend direction. Parabolic SAR(0.02, 0.02, 0.2) as dynamic price-based confirmation.
Entry / Exit Rules
Long when SMA is rising AND price is above PSAR. Short when SMA is falling AND price is below PSAR. Exit when either condition flips — SMA turns against the trade OR price crosses the PSAR — whichever comes first. SL and TP also close the position independently.
Risk Management
Fixed 1 contract per trade. Stop Loss 10 pts, Take Profit 30 pts (optional, can be disabled). Risk/reward ratio 1:3 by default.
Time Filter
Trades allowed 09:15–14:30 only, avoiding the ATO open and ATC window. Any open position is force-closed at the first bar outside the session.
הערות שחרור
- Vietnamese template- Add more filters for better result: time filter, trend filter.
הערות שחרור
- Vietnamese template- Add more filters for better result: time filter, trend filter.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.