NexusFi: Find Your Edge


Home Menu

 





Notepad++ and EasyLanguage


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one vmodus with 10 posts (32 thanks)
    2. looks_two sgjohnson with 4 posts (3 thanks)
    3. looks_3 rc76 with 4 posts (2 thanks)
    4. looks_4 AllSeeker with 3 posts (2 thanks)
      Best Posters
    1. looks_one vmodus with 3.2 thanks per post
    2. looks_two syswizard with 1.3 thanks per post
    3. looks_3 sgjohnson with 0.8 thanks per post
    4. looks_4 AllSeeker with 0.7 thanks per post
    1. trending_up 10,582 views
    2. thumb_up 43 thanks given
    3. group 9 followers
    1. forum 25 posts
    2. attach_file 3 attachments




 
Search this Thread

Notepad++ and EasyLanguage

  #11 (permalink)
 
AllSeeker's Avatar
 AllSeeker 
Mumbai, India
Legendary Pratik_4Clover
 
Experience: Beginner
Platform: TradingView & ZerodhaKite
Trading: NIFTY, BANKNIFTY
Frequency: Daily
Duration: Minutes
Posts: 1,424 since Jan 2019
Thanks Given: 5,249
Thanks Received: 5,012


vmodus View Post
You can pretty much design any language. I did it for an obscure language I use for Oracle EBS, so I figured EL would be great, too.

For EasyLanguage, I had my assistant modify the SQL language. I gave her a list of the known functions and this is what she came up with.

If you have a list of functions, reserved words, etc. you can always Pine (or pretty much any other language) a try.

Thank you for that, I do indeed have list as Pine has documentations available, so its just matter of copy pasting from functions area. I don't think I can do SQL thing though, will look up tutorials online on this. Thanks a lot

Visit my NexusFi Trade Journal Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
ZombieSqueeze
Platforms and Indicators
MC PL editor upgrade
MultiCharts
Cheap historycal L1 data for stocks
Stocks and ETFs
How to apply profiles
Traders Hideout
 
  #12 (permalink)
 
vmodus's Avatar
 vmodus 
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: MultiCharts
Broker: Barchart.com
Trading: Everything, it all tastes like chicken
Posts: 1,271 since Feb 2017
Thanks Given: 2,958
Thanks Received: 2,853


syswizard View Post
Nice work and thanks for this.

Do you know if this will help with the automatic formatting of the Easy Language code ?
Wow, that would be terrific feature.

Do you mean outlining? Toolbox I don't use outlining, but it is useful. Right now, I think only the commenting collapses. Maybe I can integrate this into future versions of this language.

~vmodus

Enjoy everything!
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #13 (permalink)
 
vmodus's Avatar
 vmodus 
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: MultiCharts
Broker: Barchart.com
Trading: Everything, it all tastes like chicken
Posts: 1,271 since Feb 2017
Thanks Given: 2,958
Thanks Received: 2,853



LastDino View Post
Thank you for that, I do indeed have list as Pine has documentations available, so its just matter of copy pasting from functions area. I don't think I can do SQL thing though, will look up tutorials online on this. Thanks a lot

You're welcome. You can always import the EasyLanguage xml into Notepad++, save it with a new name, then replace the EasyLanguage keywords with the Pine keywords. Fiddle with the Comments and Operators/Delimiters and you will be on your way.

You can have different styles for different types of keywords, as shown here:



You can also associate file extensions, so I use .esl since it isn't used for anything else on my PC.

I hope this helps!

~vmodus

Enjoy everything!
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #14 (permalink)
 
vmodus's Avatar
 vmodus 
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: MultiCharts
Broker: Barchart.com
Trading: Everything, it all tastes like chicken
Posts: 1,271 since Feb 2017
Thanks Given: 2,958
Thanks Received: 2,853


rc76 View Post
Much thanks vmodus!

Yes actually I have tried to PM plankConst on Tradestation forum, however didn't get a reply and it seems he hasn't post on TS forum since 2018?

He did show a dark background version of EL syntax for NP++, but I cannot find the xml for such syntax anyway on the forum.

Thanks for the feedback. I think I would need to add this to a theme, or maybe I could just hack the XML file. I was looking at the Dracula theme and I think it would not be too difficult. I may do it once my list of projects is whittled down to something manageable.

I will post updates on this thread. Just don't hold your breath....it may be a while.

~vmodus

Enjoy everything!
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #15 (permalink)
 
AllSeeker's Avatar
 AllSeeker 
Mumbai, India
Legendary Pratik_4Clover
 
Experience: Beginner
Platform: TradingView & ZerodhaKite
Trading: NIFTY, BANKNIFTY
Frequency: Daily
Duration: Minutes
Posts: 1,424 since Jan 2019
Thanks Given: 5,249
Thanks Received: 5,012


vmodus View Post
You're welcome. You can always import the EasyLanguage xml into Notepad++, save it with a new name, then replace the EasyLanguage keywords with the Pine keywords. Fiddle with the Comments and Operators/Delimiters and you will be on your way.

You can have different styles for different types of keywords, as shown here:



You can also associate file extensions, so I use .esl since it isn't used for anything else on my PC.

I hope this helps!

It will, thanks again

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #16 (permalink)
 
syswizard's Avatar
 syswizard 
Philadelphia PA
 
Experience: Advanced
Platform: Multicharts
Broker: Ironbeam, Rithmic
Trading: Emini ES / NQ / CL / RTY / YM / BTC
Posts: 344 since Jan 2019
Thanks Given: 20
Thanks Received: 146


vmodus View Post
Do you mean outlining?

No, I meant formatting as in smart indenting of if-then-else, Begin/End statements, etc.

Reply With Quote
Thanked by:
  #17 (permalink)
 
vmodus's Avatar
 vmodus 
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: MultiCharts
Broker: Barchart.com
Trading: Everything, it all tastes like chicken
Posts: 1,271 since Feb 2017
Thanks Given: 2,958
Thanks Received: 2,853


syswizard View Post
No, I meant formatting as in smart indenting of if-then-else, Begin/End statements, etc.

Yeah, not sure about that, but I'll look into it when I try to do a dark theme. I know there is 'auto-indent' as an option in Preferences, but language or keyword specific....not sure about.

~vmodus

Enjoy everything!
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #18 (permalink)
 rc76 
Taipei
 
Experience: Beginner
Platform: NT
Broker: IB
Trading: ES
Posts: 8 since Jul 2018
Thanks Given: 1
Thanks Received: 2


vmodus View Post
Thanks for the feedback. I think I would need to add this to a theme, or maybe I could just hack the XML file. I was looking at the Dracula theme and I think it would not be too difficult. I may do it once my list of projects is whittled down to something manageable.

I will post updates on this thread. Just don't hold your breath....it may be a while.

That do be super awesome! Thank you vmodus!

Reply With Quote
  #19 (permalink)
 sgjohnson 
Kingsport, Tennessee
 
Experience: None
Posts: 37 since Apr 2020
Thanks Given: 13
Thanks Received: 13

Just FYI, if you get the following error when applying the language:
An exception occurred due to plugin: DSpellCheck.dll
Exception reason: vector<T> too long

...just update the DSpellCheck.dll plugin via Plugins menu --> Plugin admin...

Apparently, plugins don't get updated along with the main program. I removed the Language, readded, then applied, and didn't receive the error.

Source: https://community.notepad-plus-plus.org/topic/17212/an-exception-occured-due-to-plugin-dspellcheck-dll

Reply With Quote
  #20 (permalink)
 sgjohnson 
Kingsport, Tennessee
 
Experience: None
Posts: 37 since Apr 2020
Thanks Given: 13
Thanks Received: 13


Hm. It seems NPP doesn't do EasyLanguage multi-line comments correctly if you're commenting out anything with brackets already in them.

Reply With Quote
Thanked by:




Last Updated on October 10, 2022


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts