Search found 9 matches

by Luto
06 Nov 2023
Forum: MultiCharts
Topic: More efficient usage of PRINT beyond using Barstatus = 2 [SOLVED]
Replies: 2
Views: 368

Re: More efficient usage of PRINT beyond using Barstatus = 2 [SOLVED]

Thanks RRam! Worked well. It was one of those things I was trying solve but forgot about the Symbol.XX library. MaxBars call was NOT what I wanted. Thank again for your help.
by Luto
31 Oct 2023
Forum: MultiCharts
Topic: More efficient usage of PRINT beyond using Barstatus = 2 [SOLVED]
Replies: 2
Views: 368

More efficient usage of PRINT beyond using Barstatus = 2 [SOLVED]

Hi All, I use print statements to monitor the scripts. But want to make it more efficient wrt not printing for the entire chart when doing a recompile and applying the strategy. Background: 1) If you use Print ("High: ", High); Then it executes every HLOC. (Very bad) 2) If you use if Barstatus = 2 t...
by Luto
23 Dec 2022
Forum: MultiCharts
Topic: Auto Trading Order Time Help
Replies: 5
Views: 640

Re: Auto Trading Order Time Help

It might be that you are using daily bars. So, it means your order goes in at the close of the bar. But you have a DAY order. which will then get canceled.
by Luto
03 Nov 2022
Forum: MultiCharts
Topic: Autotrade "Require Order Confirmation" setting accessible from EL?
Replies: 1
Views: 389

Autotrade "Require Order Confirmation" setting accessible from EL?

Hi All, Is there a way to toggle the Autotrade "Require order confirmation" setting from within EL? Scenario: Have MC autotrade without confirmation up to a certain time of day or other criteria. (Easy to do and already setup). Then afterwards, have the same code execute, generating entry and exit o...
by Luto
16 Aug 2022
Forum: MultiCharts
Topic: Tying Entry-Exit and SetProfitTarget, SetStopLoss
Replies: 1
Views: 627

Tying Entry-Exit and SetProfitTarget, SetStopLoss

Hi Everyone, How do the built in orders handle orders that are tied. Are they Global? Is there any way, in the engine, to tie the built in commands to the entry? If High[1] < High[0] then Buy ("Entry1") next bar 1 share at Market; If High[2] < High[0] then buy ("Entry2") next bar 2 shares at Market....
by Luto
25 Jun 2022
Forum: MultiCharts
Topic: BarsSinceExit always reports 0 [SOLVED]
Replies: 1
Views: 548

BarsSinceExit always reports 0 [SOLVED]

Any Help is appreciated. I can't seem to get BarsSinceExit to return any value besides 0 The backtester report show 6 trades in my test chart . It seems that the last bar of the day would report a value besides 0. In fact, BarsSinceExit never shows a value besides 0 on all bars of the test day. Does...
by Luto
25 Jun 2022
Forum: MultiCharts
Topic: SetProfitTargetPt(n). n is always Positive? [SOLVED]
Replies: 3
Views: 667

Re: SetProfitTargetPt(n). n is always Positive? [SOLVED]

Thanks, I verified it works as expected.
by Luto
14 Jun 2022
Forum: MultiCharts
Topic: SetProfitTargetPt(n). n is always Positive? [SOLVED]
Replies: 3
Views: 667

Re: SetProfitTargetPt(n). n is always Positive? [SOLVED]

Thanks for the reply Svetlana, I will do more testing as time allows and post when I get results. Thanks again for the simple reply.
by Luto
08 Jun 2022
Forum: MultiCharts
Topic: SetProfitTargetPt(n). n is always Positive? [SOLVED]
Replies: 3
Views: 667

SetProfitTargetPt(n). n is always Positive? [SOLVED]

Hi Guys, It appears one cannot pass SetProfitTarget_pt a negative value. Example: If true then setprofittarget_pt (-5); The above gets interpreted as "SetProfitTarget_pt(5)", i.e. positive. I guess the workaround is to use setprofittarget(p), where p is the price minus some amount. E.g: If True then...

Go to advanced search