Search found 7 matches

by czaussie1029
12 Jan 2024
Forum: MultiCharts
Topic: How to modify "Exit Strategy" buttons
Replies: 9
Views: 811

Re: How to modify "Exit Strategy" buttons

Thank you for the reply. I triple checked the setting, it is as indicated by you above. Still, I get zero position, zero contracts. I am posting my code, it is as simple as it gets I would hope. I can confirm I can read symbol name when the position is indeed opened. Automate Order Execution is enab...
by czaussie1029
21 Dec 2023
Forum: MultiCharts
Topic: How to modify "Exit Strategy" buttons
Replies: 9
Views: 811

Re: How to modify "Exit Strategy" buttons

Thank you for the reply. Point taken on not recommending automated and manual trading. That said, I have lived off manual FX trading for over 20 years and I do not see my discretionary manual trades to be converted to automated, probably ever. But I see a lot of value of automated generation of sign...
by czaussie1029
14 Dec 2023
Forum: MultiCharts
Topic: How to modify "Exit Strategy" buttons
Replies: 9
Views: 811

Re: How to modify "Exit Strategy" buttons

Ok, I was able to catch mouse clicks through strategy and I can read various account (IB) parameters and I can read open trade symbol, etc. But is it possible to create stop loss order for an open position this way? I open the trades manually, but would like to set stop loss (at ad-hoc calculated pr...
by czaussie1029
13 Dec 2023
Forum: MultiCharts
Topic: signal arrows above each bar as long as the condition is true [SOLVED]
Replies: 2
Views: 281

Re: signal arrows above each bar as long as the condition is true [SOLVED]

Try this?

Code: Select all

condition1 = var0 > var1; condition2 = var0 < var1;

ps. bear in mind you will be drawing A LOT of arrow objects. It will slow down your computer.
Thanks for simple, but effective solution. I suppose I can add some code that will all old arrows except for the last 50 for example.
by czaussie1029
13 Dec 2023
Forum: MultiCharts
Topic: signal arrows above each bar as long as the condition is true [SOLVED]
Replies: 2
Views: 281

signal arrows above each bar as long as the condition is true [SOLVED]

Hello all, can you please point me in the right direction of how to display arrow above the bar, above EVERY bar, as long as the condition is valid? My code below works well, but it only shows the arrow on the first bar when the condition becomes true. I would like it to be repeated until the condit...
by czaussie1029
05 Dec 2023
Forum: MultiCharts
Topic: How to modify "Exit Strategy" buttons
Replies: 9
Views: 811

Re: How to modify "Exit Strategy" buttons

Thank you for your answer. I am trying with a script that uses MouseClickCtrlPressed. That seems to work well, I can read prices, etc. but can you point me in the direction of how to set stop loss or any order for that matter from the script? It looks like those functions can be only called from str...
by czaussie1029
28 Nov 2023
Forum: MultiCharts
Topic: How to modify "Exit Strategy" buttons
Replies: 9
Views: 811

How to modify "Exit Strategy" buttons

Hello all, I am having hard time finding a place in Power Language Editor or elsewhere to modify scripts that control those Exit Strategy buttons like "Stop Loss Strategy" or "Profit Target Strategy". I see I can create new button (template) and modify its parameters - but I would like to go into th...

Go to advanced search