# Seetu

**URL:** https://forums.collective2.com/c/strategy-programming-language/141.md

[Latest](https://forums.collective2.com/latest.md) · [Categories](https://forums.collective2.com/categories.md)

---

## [About Seetu - Collective2's Strategy Programming Language](https://forums.collective2.com/t/about-seetu-collective2s-strategy-programming-language/7926)

<div class="topic-metadata">

**Author:** [@BobSvancara](https://forums.collective2.com/u/BobSvancara)\
**Replies:** 3\
**Last updated:** [January 15, 2019, 4:06pm UTC](https://forums.collective2.com/t/about-seetu-collective2s-strategy-programming-language/7926 "2019-01-15T16:06:19Z")

</div>

Seetu is a programming language used for developing trading strategies. You can use Seetu to explore trading ideas, backtest your strategies, and then - when you are satisfied - output buy/sell signals to a Collective2…

---

## [Backtest error (even with sample programs)](https://forums.collective2.com/t/backtest-error-even-with-sample-programs/15116)

<div class="topic-metadata">

**Author:** [@TestTrader4](https://forums.collective2.com/u/TestTrader4)\
**Replies:** 2\
**Last updated:** [December 8, 2021, 2:56pm UTC](https://forums.collective2.com/t/backtest-error-even-with-sample-programs/15116 "2021-12-08T14:56:36Z")

</div>

Hi, unfortunately backtesting in Seetu does not seem to work at all for me. I always get this error message: Backtest error: Could not convert string to integer: NA. Path ‘BackTesterSettings.HoldMinBars’, line 39, po…

---

## [Define Chart Type - Renko/Heinken Ashi/Range](https://forums.collective2.com/t/define-chart-type-renko-heinken-ashi-range/12733)

<div class="topic-metadata">

**Author:** [@PocketProfits](https://forums.collective2.com/u/PocketProfits)\
**Replies:** 3\
**Last updated:** [November 29, 2021, 3:31pm UTC](https://forums.collective2.com/t/define-chart-type-renko-heinken-ashi-range/12733 "2021-11-29T15:31:51Z")

</div>

Hi, Is it possible to define the chart type to be used for a strategy? Thank you David

---

## [SeeTu strategy -\> Investor account latency?](https://forums.collective2.com/t/seetu-strategy-investor-account-latency/15141)

<div class="topic-metadata">

**Author:** [@AndriiVdovenko2](https://forums.collective2.com/u/AndriiVdovenko2)\
**Replies:** 0\
**Last updated:** [September 22, 2021, 10:04am UTC](https://forums.collective2.com/t/seetu-strategy-investor-account-latency/15141 "2021-09-22T10:04:18Z")

</div>

Hello. What communication latency may we expect between SeeTu strategy sending order and client broker account order receiving? Thank you.

---

## [Can someone Complete the coding for my strategy?](https://forums.collective2.com/t/can-someone-complete-the-coding-for-my-strategy/14777)

<div class="topic-metadata">

**Author:** [@MichaelLepore](https://forums.collective2.com/u/MichaelLepore)\
**Replies:** 1\
**Last updated:** [April 8, 2021, 8:56am UTC](https://forums.collective2.com/t/can-someone-complete-the-coding-for-my-strategy/14777 "2021-04-08T08:56:44Z")

</div>

I have a Strategy I would like to automate, however, I have no experience writing code. Is there anyone out there I can use to complete the code writing for me?

---

## [Changing Position Size](https://forums.collective2.com/t/changing-position-size/14836)

<div class="topic-metadata">

**Author:** [@Aidan\_vanNiekerkC](https://forums.collective2.com/u/Aidan_vanNiekerkC)\
**Replies:** 0\
**Last updated:** [March 30, 2021, 2:01pm UTC](https://forums.collective2.com/t/changing-position-size/14836 "2021-03-30T14:01:21Z")

</div>

Hi all, new here and testing things out. I’m a statistician experienced in R and Python but admittedly I am not a software engineer so I’m trying to get the hang of Seetu. So far so good, but I have a slight snag. Let’s…

---

## [SetOption("ApplyToRecentBars", 60); error](https://forums.collective2.com/t/setoption-applytorecentbars-60-error/14707)

<div class="topic-metadata">

**Author:** [@BryanMiller](https://forums.collective2.com/u/BryanMiller)\
**Replies:** 0\
**Last updated:** [February 1, 2021, 5:54am UTC](https://forums.collective2.com/t/setoption-applytorecentbars-60-error/14707 "2021-02-01T05:54:16Z")

</div>

i either get a no sequence undefined error or i get a missing data error i feel like i would have less erroes with my bots if i got this to work anyone no what i mite be doing wrong in my script to be getting a no sequen…

---

## [Seetu putting through to many by orders how to fix](https://forums.collective2.com/t/seetu-putting-through-to-many-by-orders-how-to-fix/14684)

<div class="topic-metadata">

**Author:** [@BryanMiller](https://forums.collective2.com/u/BryanMiller)\
**Replies:** 2\
**Last updated:** [January 26, 2021, 3:58pm UTC](https://forums.collective2.com/t/seetu-putting-through-to-many-by-orders-how-to-fix/14684 "2021-01-26T15:58:01Z")

</div>

anyone know how to fix seetu i keep getting to many signals at the same time i need to figure out how to long and short only 1 share at a time i tried C2TradingSignal(sigBTO, sigfilter = Buy,amount=1,TypeOfSymbol =Instr…

---

## [Made a bot signals not getting sent to broker](https://forums.collective2.com/t/made-a-bot-signals-not-getting-sent-to-broker/14670)

<div class="topic-metadata">

**Author:** [@BryanMiller](https://forums.collective2.com/u/BryanMiller)\
**Replies:** 5\
**Last updated:** [January 25, 2021, 5:05pm UTC](https://forums.collective2.com/t/made-a-bot-signals-not-getting-sent-to-broker/14670 "2021-01-25T17:05:35Z")

</div>

i am having trouble getting signals working on a bot i built i am trying to forward test with paper trading. Do i need to program the signals like i would for exploration to get them to forward test? // Buy logic: Buy …

---

## [Compiler problem with MFI](https://forums.collective2.com/t/compiler-problem-with-mfi/14681)

<div class="topic-metadata">

**Author:** [@BryanMiller](https://forums.collective2.com/u/BryanMiller)\
**Replies:** 0\
**Last updated:** [January 25, 2021, 7:01am UTC](https://forums.collective2.com/t/compiler-problem-with-mfi/14681 "2021-01-25T07:01:33Z")

</div>

Hello i am having trouble compiling MFI\_Value = CalcMFI(14); CalcMFI(14); i tried it both ways and still got compiler does not recognize script. I got the script fromt he seetu refrence guide can you help me with th…

---

## [Limit positon size how to?](https://forums.collective2.com/t/limit-positon-size-how-to/14680)

<div class="topic-metadata">

**Author:** [@BryanMiller](https://forums.collective2.com/u/BryanMiller)\
**Replies:** 0\
**Last updated:** [January 25, 2021, 12:19am UTC](https://forums.collective2.com/t/limit-positon-size-how-to/14680 "2021-01-25T00:19:27Z")

</div>

my bot keeps increasing on the long side i only want it to hold upto 1 long and 1 short position at a time it bought up 10 8 shares over the course of 1 min how do i fix this i have // Remove surplus trade signals to ha…

---

## [Having trouble getting my seetu script to send out auto trades?](https://forums.collective2.com/t/having-trouble-getting-my-seetu-script-to-send-out-auto-trades/14676)

<div class="topic-metadata">

**Author:** [@BryanMiller](https://forums.collective2.com/u/BryanMiller)\
**Replies:** 0\
**Last updated:** [January 21, 2021, 9:30pm UTC](https://forums.collective2.com/t/having-trouble-getting-my-seetu-script-to-send-out-auto-trades/14676 "2021-01-21T21:30:00Z")

</div>

I am having trouble getting seetu to send out trades auto. I got my exploration done i can see all the signals. i just want future signals to go strait to my broker as they come in from seetu without me having to manuall…

---

## [Setting in profit targets on open transactions](https://forums.collective2.com/t/setting-in-profit-targets-on-open-transactions/14669)

<div class="topic-metadata">

**Author:** [@BryanMiller](https://forums.collective2.com/u/BryanMiller)\
**Replies:** 1\
**Last updated:** [January 20, 2021, 11:31am UTC](https://forums.collective2.com/t/setting-in-profit-targets-on-open-transactions/14669 "2021-01-20T11:31:32Z")

</div>

myCoverCondition = Close \< openingPrice \* 0.999; anyone know how to write this as transaciton price open plus 1 dollar change instead of 1% change?

---

## [Limit orders and buying at open at candle the same?](https://forums.collective2.com/t/limit-orders-and-buying-at-open-at-candle-the-same/14658)

<div class="topic-metadata">

**Author:** [@BryanMiller](https://forums.collective2.com/u/BryanMiller)\
**Replies:** 4\
**Last updated:** [January 20, 2021, 11:29am UTC](https://forums.collective2.com/t/limit-orders-and-buying-at-open-at-candle-the-same/14658 "2021-01-20T11:29:11Z")

</div>

BuyPrice = SellPrice = Open; does this line of seetu put in a limit order at the open of the candle? on 1 minute i assume.

---

## [Could someone help](https://forums.collective2.com/t/could-someone-help/14646)

<div class="topic-metadata">

**Author:** [@BryanMiller](https://forums.collective2.com/u/BryanMiller)\
**Replies:** 6\
**Last updated:** [January 14, 2021, 9:37pm UTC](https://forums.collective2.com/t/could-someone-help/14646 "2021-01-14T21:37:04Z")

</div>

SetOption(“RunItSpec”," {mon, every 1439 minutes between 00:00 and 23:59 }, {tue, every 1439 minutes between 00:00 and 23:59 }, {wed, every 1439 minutes between 00:00 and 23:59 }, {thu, every 1439 minutes between 00…

---

## [Seetu auto bot how to auto trade using seetu script?](https://forums.collective2.com/t/seetu-auto-bot-how-to-auto-trade-using-seetu-script/14654)

<div class="topic-metadata">

**Author:** [@BryanMiller](https://forums.collective2.com/u/BryanMiller)\
**Replies:** 0\
**Last updated:** [January 13, 2021, 5:35pm UTC](https://forums.collective2.com/t/seetu-auto-bot-how-to-auto-trade-using-seetu-script/14654 "2021-01-13T17:35:02Z")

</div>

Anyone know how to use my seetu script created bot to auto trade for me?

---

## [Running strats using diffrent time frames](https://forums.collective2.com/t/running-strats-using-diffrent-time-frames/14651)

<div class="topic-metadata">

**Author:** [@BryanMiller](https://forums.collective2.com/u/BryanMiller)\
**Replies:** 0\
**Last updated:** [January 12, 2021, 7:45pm UTC](https://forums.collective2.com/t/running-strats-using-diffrent-time-frames/14651 "2021-01-12T19:45:53Z")

</div>

SetOption(“Periodicity”,MINUTE3); Hello forum i am trying to run my algo using different timed candles i tried using the above script it did nothing

---

## [What have i done wrong](https://forums.collective2.com/t/what-have-i-done-wrong/14644)

<div class="topic-metadata">

**Author:** [@BryanMiller](https://forums.collective2.com/u/BryanMiller)\
**Replies:** 2\
**Last updated:** [January 11, 2021, 1:52pm UTC](https://forums.collective2.com/t/what-have-i-done-wrong/14644 "2021-01-11T13:52:56Z")

</div>

i got close to running my strategy i even got a crude unfinished version of it to work then as i was testing it on diffrent symbols i decided to change the intitial start amount of dollars and this error happened i retur…

---

## [Help creating script line.in seetu](https://forums.collective2.com/t/help-creating-script-line-in-seetu/14643)

<div class="topic-metadata">

**Author:** [@BryanMiller](https://forums.collective2.com/u/BryanMiller)\
**Replies:** 1\
**Last updated:** [January 11, 2021, 11:48am UTC](https://forums.collective2.com/t/help-creating-script-line-in-seetu/14643 "2021-01-11T11:48:34Z")

</div>

Buy = Cross( ShortMA, LongMA ) im trying to tell it to buy when short MA crosses under the LongMA any help would be cool

---

## [Could some help me translate a few lines of pinescript to seetu?](https://forums.collective2.com/t/could-some-help-me-translate-a-few-lines-of-pinescript-to-seetu/14637)

<div class="topic-metadata">

**Author:** [@BryanMiller](https://forums.collective2.com/u/BryanMiller)\
**Replies:** 0\
**Last updated:** [January 9, 2021, 2:48am UTC](https://forums.collective2.com/t/could-some-help-me-translate-a-few-lines-of-pinescript-to-seetu/14637 "2021-01-09T02:48:55Z")

</div>

strategy(“Heikin Ashi F1”,shorttitle=“HAS F1”,overlay=true,default\_qty\_value=50,initial\_capital=100,currency=currency.USD) res = input(title=“Heikin Ashi Candle Time Frame”, type=resolution, defval=“5”) hshift = input(…

---

## [Help translate line macd](https://forums.collective2.com/t/help-translate-line-macd/14622)

<div class="topic-metadata">

**Author:** [@BryanMiller](https://forums.collective2.com/u/BryanMiller)\
**Replies:** 1\
**Last updated:** [January 6, 2021, 4:15pm UTC](https://forums.collective2.com/t/help-translate-line-macd/14622 "2021-01-06T16:15:47Z")

</div>

;(macdline,signalLine, histLine) = {macd}(close, 12, 26, 9) Hello i am habving trouble translating this one line from pinescript into seetu i have the rest of the script working just this one line is trouble for me to c…

---

## [Seetu position size](https://forums.collective2.com/t/seetu-position-size/14379)

<div class="topic-metadata">

**Author:** [@BalaKar](https://forums.collective2.com/u/BalaKar)\
**Replies:** 1\
**Last updated:** [September 18, 2020, 12:25pm UTC](https://forums.collective2.com/t/seetu-position-size/14379 "2020-09-18T12:25:34Z")

</div>

I have code lines below to specify strategy to maintain position size of 1. Signals generated with quant of 4, instead of 1. Help me. If there is any step missed or tweaks to be made. Thanks. fyi - trying on futures l…

---

## [Error runit intraday](https://forums.collective2.com/t/error-runit-intraday/14377)

<div class="topic-metadata">

**Author:** [@BalaKar](https://forums.collective2.com/u/BalaKar)\
**Replies:** 3\
**Last updated:** [September 17, 2020, 12:52pm UTC](https://forums.collective2.com/t/error-runit-intraday/14377 "2020-09-17T12:52:27Z")

</div>

\*\*\* ERROR task 1 failed - “arguments cannot be recycled to the same length” Did anyone face this error. Appreciate your help in advance.

---

## [Seetu still active?](https://forums.collective2.com/t/seetu-still-active/14331)

<div class="topic-metadata">

**Author:** [@MattWisner](https://forums.collective2.com/u/MattWisner)\
**Replies:** 0\
**Last updated:** [August 28, 2020, 4:00am UTC](https://forums.collective2.com/t/seetu-still-active/14331 "2020-08-28T04:00:13Z")

</div>

Hello, I currently use WL but there isn’t a c2 connector that I can find. Is Seetu still viable and in development? What would you recommend I use to develop, monitor and automate a strategy into c2 with. Thanks for…

---

## [Differences between Amibroker and Seetu](https://forums.collective2.com/t/differences-between-amibroker-and-seetu/14008)

<div class="topic-metadata">

**Author:** [@ArthurTchakedjian](https://forums.collective2.com/u/ArthurTchakedjian)\
**Replies:** 0\
**Last updated:** [April 23, 2020, 9:09pm UTC](https://forums.collective2.com/t/differences-between-amibroker-and-seetu/14008 "2020-04-23T21:09:49Z")

</div>

Good morning everyone - I hope you all staying safe :slight\_smile: I am new to this platform but have intermediate knowledge of Amibroker. I have created a new Seetu strategy but pasting my Amibroker strategy and when …

---

## [DateTimeAdd help](https://forums.collective2.com/t/datetimeadd-help/12766)

<div class="topic-metadata">

**Author:** [@CarnegieGroup](https://forums.collective2.com/u/CarnegieGroup)\
**Replies:** 0\
**Last updated:** [March 14, 2019, 7:38am UTC](https://forums.collective2.com/t/datetimeadd-help/12766 "2019-03-14T07:38:32Z")

</div>

Anyone know how to use DateTimeAdd? I just want to add one day to the date of the current bar. I have this: date = GetDateNum(); nextDate = DateTimeAdd(date,1,inDaily); … AddColumn(date,“date”,1.0); …

---

## [Accessing the VIX or Index in Seetu](https://forums.collective2.com/t/accessing-the-vix-or-index-in-seetu/9530)

<div class="topic-metadata">

**Author:** [@AndyPugner](https://forums.collective2.com/u/AndyPugner)\
**Replies:** 2\
**Last updated:** [March 14, 2019, 6:48am UTC](https://forums.collective2.com/t/accessing-the-vix-or-index-in-seetu/9530 "2019-03-14T06:48:37Z")

</div>

I am just curious, is it possible to access the VIX or any non-tradeable index in Seetu? I have tried the following, but it doesn't seem to return any results. VIXClose = GetOther("VIX","Close"); VIXClose = GetOther(…

---

## [Seetu database maintenance this weekend](https://forums.collective2.com/t/seetu-database-maintenance-this-weekend/12338)

<div class="topic-metadata">

**Author:** [@BobSvan2](https://forums.collective2.com/u/BobSvan2)\
**Replies:** 0\
**Last updated:** [November 2, 2018, 3:13pm UTC](https://forums.collective2.com/t/seetu-database-maintenance-this-weekend/12338 "2018-11-02T15:13:46Z")

</div>

Hello! Seetu database maintenance this weekend. All Seetu services will be out of order this weekend 11/3/2018 - 11/4/2018. Bob

---

## [VPS for automatic strategy https://www.vpsserver.com/?affcode=3b8e9d71f8ae](https://forums.collective2.com/t/vps-for-automatic-strategy-https-www-vpsserver-com-affcode-3b8e9d71f8ae/12175)

<div class="topic-metadata">

**Author:** [@KostiantynShapoval](https://forums.collective2.com/u/KostiantynShapoval)\
**Replies:** 0\
**Last updated:** [October 14, 2018, 4:31pm UTC](https://forums.collective2.com/t/vps-for-automatic-strategy-https-www-vpsserver-com-affcode-3b8e9d71f8ae/12175 "2018-10-14T16:31:25Z")

</div>

Hi guys. I want to place an automatic strategy on the trading platform Ninja Trader 8. He stopped his choice on service VPS. But I have a problem choosing the configuration of the server and the operating system. What…

---

## [Intraday Trading](https://forums.collective2.com/t/intraday-trading/11958)

<div class="topic-metadata">

**Author:** [@NarendraRana](https://forums.collective2.com/u/NarendraRana)\
**Replies:** 0\
**Last updated:** [September 10, 2018, 12:02am UTC](https://forums.collective2.com/t/intraday-trading/11958 "2018-09-10T00:02:29Z")

</div>

I want to plot the open price of every 10th bar. Please suggest how to write a code for it in Seetu. Thanks

[Next page](https://forums.collective2.com/c/strategy-programming-language/141.md?page=1)
