Jump to content
Medved Trader Forums

Mike Medved

Administrators
  • Posts

    1,559
  • Joined

  • Last visited

  • Days Won

    126

Posts posted by Mike Medved

  1. The Set as Default option on the Templates tab of the chart's ribbon menu will make the current chart's settings the default ones for any charts that are opened in the future that have not been opened yet (which means their settings were not saved yet)

    The Set as Default for All option  make the current chart's settings the default ones for all charts that are opened in the future, overriding any current settings saved for those charts.

  2. try sending LOG again.

    If you get the same problem - were you ever successful using this particular machine to connect? Because some people who have IE10 installed on their machines cannot connect because their encryption settings in IE10 are messed up. Please run Internet Explorer (not any other browser) and connect to apis.tdameritrade.com - do you see the TD Ameritrade logo on the 404 page that comes up? If you can't even send the log - try connecting to www.medvedtrader.com in your Internet Explorer - does it get there?

     

  3. That's the IP of www.medvedtrader.com - it seems that you do not have direct connectivity to internet. You say TD Ameritrade works in your browser, is your browser connect to the net through a proxy? If so, you have to set that up in MT as well in the Settings/Applications/Proxies.

  4. Ok, Lapa, I took a look at your link. Basically it says plot a down arrow at a candle whose high is highest in 5 candles - 2 before and 2 after. Reverse for lows.

    That looks a bit too simple. Are you sure that is what you want?

    With a paintbar, just make an Advanced paintbar, no indicators, and put the following code in:

    public void MainCalculation()
    {
        double H = High[2];
        if ( H>High[4] && H>High[3] && H>High[1] && H>High )
            SetColorAndShape("Local Max", PBShape.ArrowDn, SysColor.Negative);
        double L = Low[2];
        if ( L<Low[4] && L<Low[3] && L<Low[1] && L<Low)
            SetColorAndShape("Local Min", PBShape.ArrowUp, SysColor.Positive);
    }

    It could also be done with Simple paintbar, but would involve 8 rules. Advanced is easier.

    As I said, this will not put the arrows at the local min/max, but at the candle that created the local min/max - that is, the arrows will be shifted 2 to the right compared to the ones in your link. But the logic is there.

    Or you could separate it into two paintbars so you could show one of them above candles and the other below candles.

×
×
  • Create New...