Fanoooo

COT + ema + aux ticker

Purpose: Create a script for backtesting the idea that COT can steer weekly Bias on Forex Market.
How does it works: the script use Commercials Delta Conctract, EMA of the selected ticker, EMA of 2 auxiliary tickers (e.g. correlated ticker) to generates buy and sell signals, it allows to include or not each of these.
If you use all the indicator, The buy or sell signals are generated following that rules:
(Example for buy signals on GBPCAD)

1) Commercials add net contract to GBP futures + remove net contract to CAD
2) EMA of GBPCAD is rising
3) EMA of 1st aux ticker is rising (or decline if select inv option)
4) EMA of 2nd aux ticker is rising (or decline if select inv option)

The scripts set the stop at low of the week for long orders and high of the week for shorts.
The exit strategy is to exit at first week of profit


How could you use it:
1) Choose your FX Ticker e.g. GBPCAD and set 1W TimeFrame
2) Select ticker in the strategy setting, remember to select the currency in right order, if you want to study GBP CAD 1st currency is GBP and 2nd CAD
3) Choose if you want to use EMA (and its period of calculation)
4) Choose if you want to use a aux ticker, the direction, and the relative ema period

What could be better;
1) you can just buy on begin of the week.
2) the exit strategy isn't best you can do
3) No level of delta contract is consider, its generate a buy signial also for 1 contract in the right direction

For any question, suggestion of improvemet, ideas, insult:) write to me

It all started from a script i find here on tradingview that extract COT data. Don't remember the name of that guy but Thanks a lot.
My English isn't perfect but i hope you can understand as well.


Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?