Hi.
I'd like to suggest that 'Redraw Study' be added to the right-click menu for on-chart studies.
This, and a keystroke shortcut, are the simplest forms of access I know.
As I routinely have strategies write their setups to Global Variables, I want to be able to quickly cause a study to be redrawn using those GVs.
Suggestion: Add Redraw to Study Right-Click Menu
Suggestion: Add Redraw to Study Right-Click Menu
- Attachments
-
- NeedRedraw_01.png
- 'Redraw Study' desired here
- (3.15 KiB) Downloaded 222 times
This is how you can force a study to recalculate using a GV to trigger it.
I like your right click idea as another method of doing this.
John.
I like your right click idea as another method of doing this.
John.
Code: Select all
if CurrentBar = 1 then
Begin
Here you define the global variables
GV_SetNamedString and GV_GetNamedString
MySym = leftstr(getsymbolname,2);
Value1 = GV_SetNamedString("Calc_Paint_--" + MySym,"N");
end;
Note: Any EL code from bar #1 to the last bar will be redone.
if LastBarOnChart_s then
begin
if GV_GetNamedString("Calc_Paint_--" + MySym,"N") = "R" then
begin
recalculate();
end;
end;