However, it is worrying that AJM still popped up cause the universe was 'All Ordinaries' instead of 'All Ordinaries Current and Past'.
Thanks...I’ll check out that thread ?@MovingAverage no mate I have not done this before and having a quick look I found this thread that hints that it can be done, and he has linked a couple of other threads as well.
I will have a look to see if I can figure it out but the above is a good start. Hopefully someone else will jump in and offer a solution.
Cheers
@MovingAverage no mate I have not done this before and having a quick look I found this thread that hints that it can be done, and he has linked a couple of other threads as well.
I will have a look to see if I can figure it out but the above is a good start. Hopefully someone else will jump in and offer a solution.
Cheers
if( ParamTrigger("batch", "Click here to run batch" ) )
{
ShellExecute("runbatch", "C:\\Users\\*****your path *****\\Formulas\\Custom\\Batch Files\\Norgate_Batch.abb", "" ); // Add your path and batch file
}
idMyButton = 2;
function CreateGUI()
{
GuiButton( "Run Batch", idMyButton, 10, 20, 100, 20, notifyClicked );
}
function HandleEvents()
{
for ( n = 0;id = GuiGetEvent( n, 0 );n++ ) // get the id of the event
{
code = GuiGetEvent( n, 1 );
switch ( id )
{
case idMyButton:
ShellExecute("runbatch", "C:\\Users\\*****your path *****\\Formulas\\Custom\\Batch Files\\Norgate_Batch.abb", "" ); // Add your path and batch file
break;
default:
break;
}
}
}
CreateGUI();
HandleEvents();
@MovingAverage I just had another look at this and I have come up with 2 working options for you (if you already don't have one)
Option 1 - Simple and less sexy
Code:if( ParamTrigger("batch", "Click here to run batch" ) ) { ShellExecute("runbatch", "C:\\Users\\*****your path *****\\Formulas\\Custom\\Batch Files\\Norgate_Batch.abb", "" ); // Add your path and batch file }
View attachment 113456
Option 2 - Closer to what you are chasing
Code:idMyButton = 2; function CreateGUI() { GuiButton( "Run Batch", idMyButton, 10, 20, 100, 20, notifyClicked ); } function HandleEvents() { for ( n = 0;id = GuiGetEvent( n, 0 );n++ ) // get the id of the event { code = GuiGetEvent( n, 1 ); switch ( id ) { case idMyButton: ShellExecute("runbatch", "C:\\Users\\*****your path *****\\Formulas\\Custom\\Batch Files\\Norgate_Batch.abb", "" ); // Add your path and batch file break; default: break; } } } CreateGUI(); HandleEvents();
View attachment 113457
Is it possible to modify the display of the weekly charts in Amibroker to show the "week" as the prior five trading days. So, on a Wed the last "week's" bar would be the prior 5 trading days (Wed, Thurs, Fri, Mon, Tue). The last week's bar would show the Wed open, H+L of the prior 5 trading days and the Tue close. All prior weekly bars would have to be adjusted as well.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?