OPEN-SOURCE SCRIPT

Long Term Long/Short Strategy (Pair Trading)

8 627
Longing or shorting an asset ratio depending on long term trend.

Long term trend is defined by crossing of an asset or index and its SMA.

Input values:
* trend asset
* SMA configuration (periods, resolution)
* strategy: long only, long/short, short only

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.